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