Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
spatial::arithmetic_error Struct Reference

Thrown to report that an arithmetic error has occured during a calculation. More...

#include <exception.hpp>

Inherits std::logic_error.

Public Member Functions

 arithmetic_error (const std::string &arg)
 

Detailed Description

Thrown to report that an arithmetic error has occured during a calculation.

It could be an overflow, or another kind of error.

See also
except::check_addition()
except::check_multiplication()

Definition at line 123 of file exception.hpp.

Constructor & Destructor Documentation

spatial::arithmetic_error::arithmetic_error ( const std::string &  arg)
explicit

Definition at line 125 of file exception.hpp.


The documentation for this struct was generated from the following file: