|
JSON Voorhees
Killer JSON for C++
|
Error thrown when an unrepresentable value is encountered in a JSON AST. More...
#include <jsonv/algorithm.hpp>
Inheritance diagram for jsonv::validation_error:
Collaboration diagram for jsonv::validation_error:Public Types | |
| enum class | code { non_finite_number } |
| Special code for describing the error encountered. More... | |
Public Member Functions | |
| validation_error (code code_, jsonv::path path_, jsonv::value value_) | |
| code | error_code () const |
| Get the error code. | |
| const jsonv::path & | path () const |
| Get the path in the AST the error was found. | |
| const jsonv::value & | value () const |
| Get the value that caused the error. | |
Error thrown when an unrepresentable value is encountered in a JSON AST.
Definition at line 421 of file algorithm.hpp.
Special code for describing the error encountered.
| Enumerator | |
|---|---|
| non_finite_number | Encountered a number which is NaN or Infinity. |
Definition at line 426 of file algorithm.hpp.