Enum diem_sdk::client::errors::ServerCode
pub enum ServerCode {
Show 13 variants
DefaultServerError,
VmValidationError,
VmVerificationError,
VmInvariantViolationError,
VmDeserializationError,
VmExecutionError,
VmUnknownError,
MempoolInvalidSeqNumber,
MempoolIsFull,
MempoolTooManyTransactions,
MempoolInvalidUpdate,
MempoolVmError,
MempoolUnknownError,
}
Expand description
Custom JSON RPC server error codes
Ranges from -32000 to -32099 - see https://www.jsonrpc.org/specification#error_object
for details