libzed
1.9.9
A general-purpose library for quick and simple data manipulation.
Loading...
Searching...
No Matches
exceptions.hpp
1
#include <stdexcept>
2
3
namespace
z {
4
namespace
util {
8
struct
nonnumeric
:
public
std::runtime_error {
12
nonnumeric
() : std::runtime_error(
"Attempted numeric operation on non-number"
) {}
13
};
14
}
// namespace util
15
}
// namespace z
z::util::nonnumeric
Exception thrown when attempting a numeric operation on a non-number.
Definition
exceptions.hpp:8
z::util::nonnumeric::nonnumeric
nonnumeric()
Constructor.
Definition
exceptions.hpp:12
z
util
exceptions.hpp
Generated by
1.9.8