|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Exception type for errors originating from the JSON API. More...
#include <GREM/core/formats/json.hpp>

Public Member Functions | |
| Error (const auto &message, const SourceLocation &source) | |
| void | writeMessage (String &output) const override |
| bool | messageAttachesToPrecedingFilepath () const noexcept override |
| SourceLocation | getSource () const noexcept |
| Public Member Functions inherited from grem::Error | |
| Error (CStringView message) | |
| template<convertible_to< StringView > StringViewConvertible> requires (!convertible_to<StringViewConvertible, CStringView>) | |
| Error (const StringViewConvertible &message) | |
| virtual void | writeMessage (String &output) const |
Public Attributes | |
| size_t | lineNumber |
| Line number, starting at 1 for the first line. | |
| size_t | columnNumber |
| Column number, starting at 1 for the first column. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from grem::Error | |
| template<typename OuterException> | |
| static void | throwWithNested (OuterException &&error) |
| static void | throwWithNestedFilepath (String filepath) |
| static void | throwWithNestedFilepath (CStringView filepath) |
| static String | formatCurrentExceptionMessage () |
Exception type for errors originating from the JSON API.
|
inline |
|
inlineoverride |
|
inlinenodiscardoverridevirtualnoexcept |
Reimplemented from grem::Error.
|
inlinenodiscardnoexcept |
| size_t grem::json::Error::lineNumber |
Line number, starting at 1 for the first line.
A value of 0 means no particular line.
| size_t grem::json::Error::columnNumber |
Column number, starting at 1 for the first column.
A value of 0 means no particular column.