Enum Class LiquidityPoolDepositResultCode

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

public enum LiquidityPoolDepositResultCode extends Enum<LiquidityPoolDepositResultCode>
LiquidityPoolDepositResultCode's original definition in the XDR file is:
 enum LiquidityPoolDepositResultCode
 {
     // codes considered as "success" for the operation
     LIQUIDITY_POOL_DEPOSIT_SUCCESS = 0,

     // codes considered as "failure" for the operation
     LIQUIDITY_POOL_DEPOSIT_MALFORMED = -1,      // bad input
     LIQUIDITY_POOL_DEPOSIT_NO_TRUST = -2,       // no trust line for one of the
                                                 // assets
     LIQUIDITY_POOL_DEPOSIT_NOT_AUTHORIZED = -3, // not authorized for one of the
                                                 // assets
     LIQUIDITY_POOL_DEPOSIT_UNDERFUNDED = -4,    // not enough balance for one of
                                                 // the assets
     LIQUIDITY_POOL_DEPOSIT_LINE_FULL = -5,      // pool share trust line doesn't
                                                 // have sufficient limit
     LIQUIDITY_POOL_DEPOSIT_BAD_PRICE = -6,      // deposit price outside bounds
     LIQUIDITY_POOL_DEPOSIT_POOL_FULL = -7       // pool reserves are full
 };