Exception type for errors originating from the JSON API.
More...
#include <donut/json.hpp>
|
SourceLocation | source |
| Location in the JSON source string that the error originated from, or (0, 0) if the error did not originate from a specific location. More...
|
|
Exception type for errors originating from the JSON API.
- Examples
- example_game.cpp.
◆ Error() [1/2]
donut::json::Error::Error |
( |
const std::string & |
message, |
|
|
const SourceLocation & |
source |
|
) |
| |
|
inline |
◆ Error() [2/2]
donut::json::Error::Error |
( |
const char * |
message, |
|
|
const SourceLocation & |
source |
|
) |
| |
|
inline |
◆ source
Location in the JSON source string that the error originated from, or (0, 0) if the error did not originate from a specific location.
The documentation for this struct was generated from the following file: