Class representing issues related to serialization & parsing.
More...
#include <parsnip.h>
|
|
virtual const char * | what () const noexcept override |
| |
| const char * | where () const noexcept |
| | Retrieve the exception location information.
|
| |
| void | addBacktraceLocation (const std::string &) |
| | Insert a new portion of the exception location at the front.
|
| |
|
|
| Exception (const std::string &why) |
| | Construct an exception.
|
| |
| | Exception (const std::string &why, const std::string &detail) |
| | Construct an exception.
|
| |
|
|
std::string | reason |
| | Storage for the exception explanation.
|
| |
Class representing issues related to serialization & parsing.
◆ Exception()
| Parsnip::Exception::Exception |
( |
const std::string & |
why, |
|
|
const std::string & |
detail |
|
) |
| |
|
inlineprotected |
Construct an exception.
- Parameters
-
| why | The primary explanation for the error. |
| detail | Specifics about the error, such as the problem location or data. |
◆ addBacktraceLocation()
| void Parsnip::Exception::addBacktraceLocation |
( |
const std::string & |
where | ) |
|
Insert a new portion of the exception location at the front.
- Parameters
-
| where | The location portion. |
◆ where()
| const char * Parsnip::Exception::where |
( |
| ) |
const |
|
inlinenoexcept |
Retrieve the exception location information.
- Returns
- A string containing location information, or a nullptr if none is available.
The documentation for this class was generated from the following files: