AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::json::MappingError Class Reference

Mapping error. More...

#include <mappingError.hpp>

+ Inheritance diagram for anch::json::MappingError:
+ Collaboration diagram for anch::json::MappingError:

Public Member Functions

 MappingError (ErrorCode code, const anch::json::ReaderContext &context)
 
virtual ~MappingError ()
 
virtual const char * what () const noexcept override
 
anch::json::ErrorCode getErrorCode () const
 

Detailed Description

Mapping error.

Error which can be raised while parsing JSON input stream

Author
Vincent Lachenal
Since
0.1

Constructor & Destructor Documentation

◆ MappingError()

anch::json::MappingError::MappingError ( ErrorCode code,
const anch::json::ReaderContext & context )

MappingError constructor

Parameters
codethe error code
contextthe JSON context parser

◆ ~MappingError()

virtual anch::json::MappingError::~MappingError ( )
virtual

MappingError destructor

Member Function Documentation

◆ getErrorCode()

anch::json::ErrorCode anch::json::MappingError::getErrorCode ( ) const

Error code getter

Returns
the error code
+ Here is the call graph for this function:

◆ what()

virtual const char * anch::json::MappingError::what ( ) const
overridevirtualnoexcept

Error message getter

Returns
the error message

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