package
1.2.0-rc1
Repository: https://github.com/mc-aeq/aeqw.git
Documentation: pkg.go.dev

# Functions

IsError returns whether the error is a ManagerError with a matching error code.
New returns a new application error with the code and description.
Wrap returns a new application error that wraps err with an error code and description.
Wraps returns whether apperror is an apperror.E and wraps the error err.

# Constants

ErrAccountNotFound indicates that the requested account is not known to the account manager.
ErrAccountNumTooHigh indicates that the specified account number is higher than the max allowed value as defined by the MaxAccountNum constant.
ErrAddressNotFound indicates that the requested address is not known to the account manager.
ErrAlreadyExists indicates that the specified database already exists.
ErrBadPoolUserAddr indicates that the passed pool user address was faulty.
ErrBranch indicates that the branch passed was not internal or external for some account.
ErrCallBackBreak is used to break from a callback function passed down to the manager.
ErrCoinTypeTooHigh indicates that the coin type specified in the provided network parameters is higher than the max allowed value as defined by the maxCoinType constant.
ErrCreateAddress is used to indicate that an address could not be created from a public key.
ErrCrypto indicates an error with the cryptography related operations such as decrypting or encrypting data, parsing an EC public key, or deriving a secret key from a password.
ErrData describes an error where data stored in the transaction database is incorrect.
ErrDatabase indicates an error with the underlying database.
ErrDisconnected indicates that the operation could not be completed due to being disconnected from the Decred network.
ErrDoubleSpend indicates that an output was attempted to be spent twice.
ErrDuplicate describes an error inserting an item into the store due to the data already existing.
ErrDuplicateAccount indicates an account already exists.
ErrDuplicateAddress indicates an address already exists.
ErrEmptyPassphrase indicates that the private passphrase was refused due to being empty.
ErrExceedsGapLimit indicates that a new address could not be returned as there has been insufficient public usage on any of the previous derived addressesin the BIP0044 gap limit.
ErrExhaustedAccount indicates that all possible addresses for an account have been derived and no more can be created.
ErrHighFees indicates the transaction pays much more fee that should be required, and an error is returned to prevent an accident where a significant amount of value is lost to fees.
ErrInput describes an error where the variables passed into this function by the caller are obviously incorrect.
ErrInvalidAccount indicates that the requested account is not valid.
ErrInvalidKeyType indicates an error where an invalid crypto key type has been selected.
ErrIsClosed indicates that the transaction manager is closed.
ErrKeyChain indicates an error with the key chain typically either due to the inability to create an extended key or deriving a child extended key.
ErrLocked indicates that an operation, which requires the account manager to be unlocked, was requested on a locked account manager.
ErrMetaPoolIdxNoExist indicates that the address index for some account's address pool was unset or short.
ErrNeedsUpgrade describes an error during store opening where the database contains an older version of the store.
ErrNoExist indicates that the specified database does not exist.
ErrPoolUserInvalTcktsNotFound indicates that the requested script hash is not known to the meta bucket.
ErrPoolUserTicketsNotFound indicates that the requested script hash is not known to the meta bucket.
ErrSSGensNotFound indicates that the requested tx hash is not known to the SSGens store.
ErrSSRtxsNotFound indicates that the requested tx hash is not known to the SSRtxs store.
ErrSStxNotFound indicates that the requested tx hash is not known to the SStx store.
ErrTooManyAddresses indicates that more than the maximum allowed number of addresses per account have been requested.
ErrUnimplemented describes any application error due to an unimplemented or missing feature.
ErrUnknownVersion describes an error where the store already exists but the database version is newer than latest version known to this software.
ErrUnsupported indicates the operation is unsupported.
ErrUpgrade indicates the manager needs to be upgraded.
ErrValueNoExists describes an error indicating that the value for a given key does not exist in the database queried.
ErrWatchingOnly indicates that an operation, which requires the account manager to have access to private data, was requested on a watching-only account manager.
ErrWrongNet indicates that the private key to be imported is not for the the same network the account manager is configured for.
ErrWrongPassphrase indicates that the specified passphrase is incorrect.

# Structs

E describes an application-level error.

# Type aliases

Code identifies an error by a specific integer code.