# Functions
ABCIError will resolve an error code/log from an abci result into an error message.
ABCIInfo returns the ABCI error information as consumed by the tendermint client.
No description provided by the author
QueryResult returns a ResponseQuery from an error.
Recover captures a panic and stop its propagation.
Redact replaces an error that is not initialized as an ABCI Error with a generic internal error instance.
Register returns an error instance that should be used as the base for creating error instances during runtime.
ResponseCheckTx returns an ABCI ResponseCheckTx object with fields filled in from the given error and gas values.
ResponseDeliverTx returns an ABCI ResponseDeliverTx object with fields filled in from the given error and gas values.
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.
SuccessABCICode declares an ABCI response use 0 to signal that the processing was successful and no error is returned.
UndefinedCodespace when we explicitly declare no codespace.
# Variables
No description provided by the author
No description provided by the author
ErrInsufficientFee to doc.
ErrInsufficientFunds is used when the account cannot pay requested amount.
errInternal should never be exposed, but we reserve this code for non-specified errorsnolint.
ErrInvalidAddress to doc.
ErrInvalidCoins to doc.
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.
ErrJSONMarshal defines an ABCI typed JSON marshalling error.
ErrJSONUnmarshal defines an ABCI typed JSON unmarshalling error.
ErrMemoTooLarge to doc.
ErrMempoolIsFull defines an ABCI typed error where the mempool is full.
ErrNoSignatures to doc.
ErrOutOfGas to doc.
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.
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.
ErrUnknownRequest to doc.