package
0.0.0-20230925091837-55f7a6b23beb
Repository: https://github.com/xdbfoundation/go.git
Documentation: pkg.go.dev
# Functions
ForOperationResult returns the strong representation used by frontier for the error code `opr`.
String returns the appropriate string representation of the provided result code.
# Constants
OpDoesNotExist occurs when claimable balance or sponsorship does not exist.
OpLineFull occurs when a payment would cause a destination account to exceed their declared trust limit for the asset being sent.
OpLowReserve is the string code used to specify the operation failed because the account in question does not have enough balance to satisfy what their new minimum balance would be.
OpMalformed is the string code used to specify the operation was malformed in some way.
OpNoIssuer occurs when a operation does not correctly specify an issuing asset.
OpNotAuthorized occurs when a trust line is not authorized.
OpNoTrust occurs when there is no trust line to a given asset.
OpSuccess is the string code used to specify the operation was successful.
OpUnderfunded is the string code used to specify the operation failed due to a lack of funds.
# Variables
ErrUnknownCode is returned when an unexepcted value is provided to `String`.