|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
A wowlib operation failure: a machine-readable code, a human-readable message, and the originating native (StormLib/CascLib/OS) error value when one exists. More...
#include <wowlib/core/error.hpp>
Public Attributes | |
| ErrorCode | code |
| The failure category. | |
| std::string | message |
| Human-readable description of what failed, with context. | |
| std::uint32_t | nativeError = 0 |
| Raw GetCascError()/GetLastError() value from the native library, 0 if not applicable. | |
A wowlib operation failure: a machine-readable code, a human-readable message, and the originating native (StormLib/CascLib/OS) error value when one exists.
Not welded — bindings translate it into target-language exceptions instead.
| ErrorCode wowlib::Error::code |
| std::string wowlib::Error::message |
Human-readable description of what failed, with context.
Definition at line 65 of file error.hpp.
Referenced by wowlib::to_string().
| std::uint32_t wowlib::Error::nativeError = 0 |
Raw GetCascError()/GetLastError() value from the native library, 0 if not applicable.
Definition at line 69 of file error.hpp.
Referenced by wowlib::to_string().