Shapes
GIS made easy, a lightweight header-only planar geometry library for Modern C++
|
Exception thrown when a sequence index is out of range. More...
#include <exceptions.hpp>
Public Member Functions | |
index_error (const std::string &reason) | |
Creates a index error exception. More... | |
![]() | |
shapes_exception (const char *reason) | |
Creates a shapes exception. More... | |
const char * | what () const noexceptoverride |
Returns the exception reason. More... | |
Additional Inherited Members | |
![]() | |
void | set_reason (const std::string &reason) |
Set the exception reason. More... | |
Exception thrown when a sequence index is out of range.
Definition at line 143 of file exceptions.hpp.
|
inlineexplicit |
Creates a index error exception.
reason | the exception reason |
Definition at line 153 of file exceptions.hpp.