Back to Site
Loading...
Searching...
No Matches
librats::JsonError Class Reference

Thrown by the throwing parse path and by type-mismatched accessors. More...

#include <json.h>

Inheritance diagram for librats::JsonError:
[legend]
Collaboration diagram for librats::JsonError:
[legend]

Public Member Functions

 JsonError (const std::string &what)
 

Detailed Description

Thrown by the throwing parse path and by type-mismatched accessors.

Derives from std::runtime_error so existing catch(const std::exception&) blocks keep working unchanged.

Definition at line 51 of file json.h.

Constructor & Destructor Documentation

◆ JsonError()

librats::JsonError::JsonError ( const std::string &  what)
inlineexplicit

Definition at line 53 of file json.h.


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