libsemigroups  v3.0.0
C++ library for semigroups and monoids
Loading...
Searching...
No Matches
Exceptions

This file contains functionality for the exceptions used in libsemigroups.

Classes

struct  LibsemigroupsException
 Exception class deriving from std::runtime_error. More...
 

Macros

#define LIBSEMIGROUPS_EXCEPTION(...)
 Throw a LibsemigroupsException.
 

Macro Definition Documentation

◆ LIBSEMIGROUPS_EXCEPTION

#define LIBSEMIGROUPS_EXCEPTION ( ...)
Value:
{ \
throw LibsemigroupsException( \
__FILE__, __LINE__, __func__, fmt::format(__VA_ARGS__)); \
}

Throw a LibsemigroupsException that reports the file name, line number and function that this macro is contained within, and any additional reporting information passed to the macro.