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

Mapping error. More...

#include <mappingError.hpp>

Inheritance diagram for MappingError:
Collaboration diagram for 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()

MappingError constructor

Parameters
codethe error code
contextthe JSON context parser

◆ ~MappingError()

MappingError destructor

Member Function Documentation

◆ getErrorCode()

Error code getter

Returns
the error code

◆ 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: