Class exc_logic_error (o2scl)

O2scl : Class List

class exc_logic_error : public std::logic_error

Logic error exception.

This class derives from std::logic_error.

The error which is handled with this exception type is

Public Functions

inline exc_logic_error(const std::string &s)

Create an exception with description provided in s.

inline virtual ~exc_logic_error()
inline virtual const char *what() const

Return the error string.