Skip to main content
All errors emitted by quais have an ErrorCode to help identify and coalesce errors to simplify programmatic analysis. Each ErrorCode is the code proerty of a coresponding quaisError. Generic Errors "UNKNOWN_ERROR" - see UnknownError "NOT_IMPLEMENTED" - see NotImplementedError "UNSUPPORTED_OPERATION" - see UnsupportedOperationError "NETWORK_ERROR" - see NetworkError "SERVER_ERROR" - see ServerError "TIMEOUT" - see TimeoutError "BAD_DATA" - see BadDataError "CANCELLED" - see CancelledError Operational Errors "BUFFER_OVERRUN" - see BufferOverrunError "NUMERIC_FAULT" - see NumericFaultError Argument Errors "INVALID_ARGUMENT" - see InvalidArgumentError "MISSING_ARGUMENT" - see MissingArgumentError "UNEXPECTED_ARGUMENT" - see UnexpectedArgumentError Blockchain Errors "CALL_EXCEPTION" - see CallExceptionError "INSUFFICIENT_FUNDS" - see InsufficientFundsError "NONCE_EXPIRED" - seeNonceExpiredError "REPLACEMENT_UNDERPRICED" - see ReplacementUnderpricedError "TRANSACTION_REPLACED" - see TransactionReplacedError User Interaction Errors "ACTION_REJECTED" - see ActionRejectedError

Source

utils/errors.ts:122