Exception for scalar function arguments that are outside the domain of the function. More...
#include <exceptions.hh>
Public Member Functions | |
template<class Value , class = std::enable_if_t<std::is_arithmetic<Value>::value>> | |
OutOfDomainException (const std::string &function, const std::string &range, const Value &value, const std::string &file, const int line) | |
Constructor. More... | |
Exception for scalar function arguments that are outside the domain of the function.
Example:
|
inline |
Constructor.
range | std::string that contains the mathematical expression for the valid range |
function | name of the function throwing this exception |
value | value outside range |
file | file containing the throwing code |
line | line containing the throwing code |