Enum Class CreateAccountResultCode

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

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

     // codes considered as "failure" for the operation
     CREATE_ACCOUNT_MALFORMED = -1,   // invalid destination
     CREATE_ACCOUNT_UNDERFUNDED = -2, // not enough funds in source account
     CREATE_ACCOUNT_LOW_RESERVE =
         -3, // would create an account below the min reserve
     CREATE_ACCOUNT_ALREADY_EXIST = -4 // account already exists
 };