# Functions
ABCIError will resolve an error code/log from an abci result into an error message.
IsOf checks if a received error is caused by one of the target errors.
No description provided by the author
Recover captures a panic and stop its propagation.
Register returns an error instance that should be used as the base for creating error instances during runtime.
WithType is a helper to augment an error with a corresponding type message.
Wrap extends given error with an additional information.
Wrapf extends given error with an additional information.
# Constants
RootCodespace is the codespace for all errors defined in this package.
UndefinedCodespace when we explicitly declare no codespace.
# Variables
ErrAppConfig defines an error occurred if min-gas-prices field in BaseConfig is empty.
ErrConflict defines a conflict error, e.g.
ErrInsufficientFee to doc.
ErrInsufficientFunds is used when the account cannot pay requested amount.
ErrInvalidAddress to doc.
ErrInvalidChainID defines an error when the chain-id is invalid.
ErrInvalidCoins to doc.
ErrInvalidHeight defines an error for an invalid height.
ErrInvalidPubKey to doc.
ErrInvalidRequest defines an ABCI typed error where the request contains invalid data.
ErrInvalidSequence is used the sequence number (nonce) is incorrect for the signature.
ErrInvalidType defines an error an invalid type.
ErrInvalidVersion defines a general error for an invalid version.
ErrIO should be used to wrap internal errors caused by external operation.
ErrJSONMarshal defines an ABCI typed JSON marshalling error.
ErrJSONUnmarshal defines an ABCI typed JSON unmarshalling error.
ErrKeyNotFound defines an error when the key doesn't exist.
ErrLogic defines an internal logic error, e.g.
ErrMemoTooLarge to doc.
ErrMempoolIsFull defines an ABCI typed error where the mempool is full.
ErrNoSignatures to doc.
ErrNotFound defines an error when requested entity doesn't exist in the state.
ErrNotSupported is returned when we call a branch of a code which is currently not supported.
ErrorInvalidGasAdjustment defines an error for an invalid gas adjustment.
ErrorInvalidSigner defines an error when the tx intended signer does not match the given signer.
ErrOutOfGas to doc.
ErrPackAny defines an error when packing a protobuf message to Any fails.
ErrPanic is only set when we recover from a panic, so we know to redact potentially sensitive system info.
ErrTooManySignatures to doc.
ErrTxDecode is returned if we cannot parse a transaction.
ErrTxInMempoolCache defines an ABCI typed error where a tx already exists in the mempool.
ErrTxTimeoutHeight defines an error for when a tx is rejected out due to an explicitly set timeout height.
ErrTxTooLarge defines an ABCI typed error where tx is too large.
ErrUnauthorized is used whenever a request without sufficient authorization is handled.
ErrUnknownAddress to doc.
ErrUnknownExtensionOptions defines an error for unknown extension options.
ErrUnknownRequest to doc.
ErrUnpackAny defines an error when unpacking a protobuf message from Any fails.
ErrWrongPassword defines an error when the key password is invalid.
ErrWrongSequence defines an error where the account sequence defined in the signer info doesn't match the account's actual sequence number.