struct Error
C++
struct Error
An owned error value. Bounded diagnostics keep failure translation usable after allocation failure; messages may be truncated to 511 bytes.
include/nprpc/result.hpp:29
Constructors
Error(ErrorCode code, const char *text, int32_t native = 0, const char *category = "") noexcept
Not documented.
include/nprpc/result.hpp:35
Fields
ErrorCode code
Not documented.
include/nprpc/result.hpp:30
std::array<char, 512> message {}
Not documented.
include/nprpc/result.hpp:33
std::array<char, 64> native_category {}
Not documented.
include/nprpc/result.hpp:32
int32_t native_code = 0
Not documented.
include/nprpc/result.hpp:31