注意: 此页面尚未翻译成中文。以下内容为英文原版。All errors in quais include properties to assist in machine-readable errors.
Error
UnknownError
NotImplementedError
UnsupportedOperationError
NetworkError
ServerError
TimeoutError
BadDataError
CancelledError
BufferOverrunError
NumericFaultError
InvalidArgumentError
MissingArgumentError
UnexpectedArgumentError
CallExceptionError
InsufficientFundsError
NonceExpiredError
ReplacementUnderpricedError
TransactionReplacedError
ActionRejectedError
Type parameter | Value |
---|---|
T extends ErrorCode | ErrorCode |
Property | Type | Description |
---|---|---|
code | ErrorCode | The string error code. |
error? | Error | Any related error. |
info? | Record <string , any > | Additional info regarding the error that may be useful. This is generally helpful mostly for human-based debugging. |
shortMessage | string | A short message describing the error, with minimal additional details. |