JSON Voorhees
Killer JSON for C++
|
Exception thrown if there is any problem running extract
.
More...
#include <jsonv/serialization.hpp>
Public Member Functions | |
extraction_error (const extraction_context &context, const std::string &message) | |
Create a new extraction_error from the given context and message. More... | |
const jsonv::path & | path () const |
Get the path this extraction error came from. More... | |
Exception thrown if there is any problem running extract
.
Typically, there is a nested exception attached with more details as to what the underlying error is (a human-readable description is usually in the what
string).
Definition at line 146 of file serialization.hpp.
|
explicit |
Create a new extraction_error
from the given context and message.
const jsonv::path& jsonv::extraction_error::path | ( | ) | const |
Get the path this extraction error came from.