Shapes
GIS made easy, a lightweight header-only planar geometry library for Modern C++
|
Exception thrown when an error has been found while parsing. More...
#include <exceptions.hpp>
Public Member Functions | |
parse_error (const std::string &reason) | |
Creates a parse error with the given reason. 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 an error has been found while parsing.
Definition at line 67 of file exceptions.hpp.
|
inlineexplicit |
Creates a parse error with the given reason.
reason | the reason message |
Definition at line 77 of file exceptions.hpp.