Exceptions¶
-
struct
LibsemigroupsException
: public runtime_error¶ Exception class deriving from std::runtime_error.
Defined in
libsemigroups-exception.hpp
.This page contains the documentation for the class libsemigroups::LibsemigroupsException. All exceptions thrown by
libsemigroups
are LibsemigroupsException instances.Public Functions
-
LibsemigroupsException
(std::string const &fname, int linenum, std::string const &funcname, std::string const &msg)¶ Create an exception with filename, line number, function name, and message.
- Parameters
fname
: the name of the file throwing the exception.linenum
: the line number where the exception is thrownfuncname
: the name of the function where the exception is thrown.msg
: the message of the exception being thrown.
-
LibsemigroupsException
(LibsemigroupsException const&)¶ Default copy constructor.
-
LibsemigroupsException
(LibsemigroupsException&&)¶ Default move constructor.
-
LibsemigroupsException &
operator=
(LibsemigroupsException const&)¶ Default copy assignment operator.
-
LibsemigroupsException &
operator=
(LibsemigroupsException&&)¶ Default move assignment operator.
-