package
4.0.0+incompatible
Repository: https://github.com/gnolang/gnonative.git
Documentation: pkg.go.dev

# Functions

Code returns the code of the actual error without trying to unwrap it, or -1.
Codes returns a list of wrapped codes.
FirstCode walks the passed error and returns the code of the first ErrCode met, or -1.
Has returns true if one of the error is or contains (wraps) an expected errcode.
Is returns true if the top-level error (not the FirstCode) is actually an ErrCode of the same value.
LastCode walks the passed error and returns the code of the latest ErrCode, or -1.

# Constants

No description provided by the author
ErrCryptoKeyNotFound indicates that the doesn't exist in the keybase.
No description provided by the author
ErrDecryptionFailed indicates a decryption failure including a wrong password.
No description provided by the author
ErrGasOverflow indicates that an action results in a gas consumption unsigned integer overflow.
No description provided by the author
ErrInsufficientCoins indicates that the transaction has insufficient account funds to send.
ErrInsufficientFee indicates that the gas fee is insufficient.
ErrInsufficientFunds indicates that there are insufficient funds to pay for fees.
ErrInternal indicates an unknown error (without Code), i.e.
ErrInvalidAddress indicates that an account address is blank or the bech32 can't be decoded.
ErrInvalidCoins indicates that the transaction Coins are not sorted, or don't have a positive amount, or the coin Denom contains upper case characters.
No description provided by the author
ErrInvalidGasWanted indicates that the transaction gas wanted is too large or otherwise invalid.
No description provided by the author
ErrInvalidPkgPath indicates that the package path is not recognized.
ErrInvalidPubKey indicates that the public key was not found or has an invalid algorithm or format.
No description provided by the author
No description provided by the author
ErrMemoTooLarge indicates that the transaction memo is too large.
No description provided by the author
ErrNoActiveAccount indicates that no account with the given address has been activated with ActivateAccount.
ErrNoSignatures indicates that the transaction has no signatures.
ErrNotImplemented indicates that a method is not implemented yet.
ErrOutOfGas indicates that the transaction doesn't have enough gas.
No description provided by the author
No description provided by the author
No description provided by the author
ErrTooManySignatures indicates that the transaction has too many signatures.
No description provided by the author
No description provided by the author
ErrUnknownAddress indicates that the address is unknown on the blockchain.
ErrUnknownRequest indicates that the path of a realm function call is unrecognized.
TODO indicates that you plan to create an error later.
Undefined is the default value.

# Variables

Enum value maps for ErrCode.
Enum value maps for ErrCode.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Coin holds some amount of one currency.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
messages.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

WithCode defines an error that can be used by helpers of this package.

# Type aliases

The ErrCode enum defines errors for gRPC API functions.