Enum Class AllowTrustResultCode

java.lang.Object
java.lang.Enum<AllowTrustResultCode>
org.stellar.sdk.xdr.AllowTrustResultCode
All Implemented Interfaces:
Serializable, Comparable<AllowTrustResultCode>, Constable

public enum AllowTrustResultCode extends Enum<AllowTrustResultCode>
AllowTrustResultCode's original definition in the XDR file is:
 enum AllowTrustResultCode
 {
     // codes considered as "success" for the operation
     ALLOW_TRUST_SUCCESS = 0,
     // codes considered as "failure" for the operation
     ALLOW_TRUST_MALFORMED = -1,     // asset is not ASSET_TYPE_ALPHANUM
     ALLOW_TRUST_NO_TRUST_LINE = -2, // trustor does not have a trustline
                                     // source account does not require trust
     ALLOW_TRUST_TRUST_NOT_REQUIRED = -3,
     ALLOW_TRUST_CANT_REVOKE = -4,      // source account can't revoke trust,
     ALLOW_TRUST_SELF_NOT_ALLOWED = -5, // trusting self is not allowed
     ALLOW_TRUST_LOW_RESERVE = -6       // claimable balances can't be created
                                        // on revoke due to low reserves
 };