An exception for the JSON file class.
More...
#include <JsonFile.h>
|
| | JsonException (const String &whatHappened, const String &whenDidItHappen) |
| |
| char const * | what () const noexcept override |
| |
| String | when () const |
| | Get the "when" status of the exception. This is the context behind the "what" action.
|
| |
An exception for the JSON file class.
Specific exception for preset handling. Provides what() and when() functions.
◆ JsonException()
| krotos::JsonException::JsonException |
( |
const String & | whatHappened, |
|
|
const String & | whenDidItHappen ) |
◆ what()
| char const * krotos::JsonException::what |
( |
| ) |
const |
|
overridenoexcept |
◆ when()
| String krotos::JsonException::when |
( |
| ) |
const |
Get the "when" status of the exception. This is the context behind the "what" action.
- Returns
- A string describing when the exception occurred.
◆ m_whenDidItHappen
| String krotos::JsonException::m_whenDidItHappen |
|
private |
The documentation for this class was generated from the following files: