general_error

Defined in header: <ixion/exceptions.hpp>

class general_error : public std::exception

Base class of the exceptions thrown by the library, other than formula_error. It carries a message describing the error.

Subclassed by ixion::file_not_found, ixion::model_context_error, ixion::not_implemented_error

Public Functions

general_error()

Construct an exception with an empty message.

explicit general_error(std::string msg)

Construct an exception with a message.

virtual ~general_error()
virtual const char *what() const noexcept override

Get the message describing the error.