|
xrpld
|
Maps an rpc error code to its token, default message, and HTTP status. More...
#include <ErrorCodes.h>

Public Member Functions | |
| constexpr | ErrorInfo () |
| constexpr | ErrorInfo (ErrorCodeI code, char const *token, char const *message) |
| constexpr | ErrorInfo (ErrorCodeI code, char const *token, char const *message, int httpStatus) |
Public Attributes | |
| ErrorCodeI | code |
| json::StaticString | token |
| json::StaticString | message |
| int | httpStatus |
Maps an rpc error code to its token, default message, and HTTP status.
Definition at line 175 of file ErrorCodes.h.
|
constexpr |
Definition at line 178 of file ErrorCodes.h.
|
constexpr |
Definition at line 183 of file ErrorCodes.h.
|
constexpr |
Definition at line 188 of file ErrorCodes.h.
| ErrorCodeI xrpl::rpc::ErrorInfo::code |
Definition at line 193 of file ErrorCodes.h.
| json::StaticString xrpl::rpc::ErrorInfo::token |
Definition at line 194 of file ErrorCodes.h.
| json::StaticString xrpl::rpc::ErrorInfo::message |
Definition at line 195 of file ErrorCodes.h.
| int xrpl::rpc::ErrorInfo::httpStatus |
Definition at line 196 of file ErrorCodes.h.