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

Public Member Functions | |
| Error (const auto &message, StringView::iterator position, size_t lineNumber) | |
| 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 |
| virtual bool | messageAttachesToPrecedingFilepath () const noexcept |
Public Attributes | |
| StringView::iterator | position |
| Iterator into the source XML string where the error originated from. | |
| size_t | lineNumber |
| Line number, starting at 1 for the first line, where the error occured. | |
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 XML API.
|
inline |
| StringView::iterator grem::xml::Error::position |
Iterator into the source XML string where the error originated from.
| size_t grem::xml::Error::lineNumber |
Line number, starting at 1 for the first line, where the error occured.