JSON Voorhees
Killer JSON for C++
jsonv::extraction_error Class Reference

Exception thrown if there is any problem running extract. More...

#include <jsonv/serialization.hpp>

+ Inheritance diagram for jsonv::extraction_error:

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::pathpath () const
 Get the path this extraction error came from. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

jsonv::extraction_error::extraction_error ( const extraction_context context,
const std::string &  message 
)
explicit

Create a new extraction_error from the given context and message.

Member Function Documentation

const jsonv::path& jsonv::extraction_error::path ( ) const

Get the path this extraction error came from.


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