public static enum Model.TransactionError.Reason extends java.lang.Enum<Model.TransactionError.Reason> implements com.google.protobuf.Internal.EnumLite
kin.agora.common.v4.TransactionError.Reason| Enum Constant and Description |
|---|
BAD_NONCE
Corresponds to an invalid sequence number in stellar,
or a bad / expired blockhash in solana.
|
INSUFFICIENT_FUNDS
Source did not have sufficient kin.
|
INVALID_ACCOUNT
Indicates one of the accounts in the transaction is
invalid.
|
NONE
NONE = 0; |
UNAUTHORIZED
The transaction was missing a required signature.
|
UNKNOWN
The error could not be mapped by the service.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_NONCE_VALUE
Corresponds to an invalid sequence number in stellar,
or a bad / expired blockhash in solana.
|
static int |
INSUFFICIENT_FUNDS_VALUE
Source did not have sufficient kin.
|
static int |
INVALID_ACCOUNT_VALUE
Indicates one of the accounts in the transaction is
invalid.
|
static int |
NONE_VALUE
NONE = 0; |
static int |
UNAUTHORIZED_VALUE
The transaction was missing a required signature.
|
static int |
UNKNOWN_VALUE
The error could not be mapped by the service.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.TransactionError.Reason |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.TransactionError.Reason> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static Model.TransactionError.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.TransactionError.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.TransactionError.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.TransactionError.Reason NONE
NONE = 0;public static final Model.TransactionError.Reason UNKNOWN
The error could not be mapped by the service. In this situation, the error may be propagated out of band (i.e. via error status), or be looked up using low level RPCs.
UNKNOWN = 1;public static final Model.TransactionError.Reason UNAUTHORIZED
The transaction was missing a required signature.
UNAUTHORIZED = 2;public static final Model.TransactionError.Reason BAD_NONCE
Corresponds to an invalid sequence number in stellar, or a bad / expired blockhash in solana.
BAD_NONCE = 3;public static final Model.TransactionError.Reason INSUFFICIENT_FUNDS
Source did not have sufficient kin.
INSUFFICIENT_FUNDS = 4;public static final Model.TransactionError.Reason INVALID_ACCOUNT
Indicates one of the accounts in the transaction is invalid. Some possible reasons are be: 1. Account does not exist 2. Account exists, but is not a token account 3. Account exists, but is for the wrong token.
INVALID_ACCOUNT = 5;public static final Model.TransactionError.Reason UNRECOGNIZED
public static final int NONE_VALUE
NONE = 0;public static final int UNKNOWN_VALUE
The error could not be mapped by the service. In this situation, the error may be propagated out of band (i.e. via error status), or be looked up using low level RPCs.
UNKNOWN = 1;public static final int UNAUTHORIZED_VALUE
The transaction was missing a required signature.
UNAUTHORIZED = 2;public static final int BAD_NONCE_VALUE
Corresponds to an invalid sequence number in stellar, or a bad / expired blockhash in solana.
BAD_NONCE = 3;public static final int INSUFFICIENT_FUNDS_VALUE
Source did not have sufficient kin.
INSUFFICIENT_FUNDS = 4;public static final int INVALID_ACCOUNT_VALUE
Indicates one of the accounts in the transaction is invalid. Some possible reasons are be: 1. Account does not exist 2. Account exists, but is not a token account 3. Account exists, but is for the wrong token.
INVALID_ACCOUNT = 5;public static Model.TransactionError.Reason[] values()
for (Model.TransactionError.Reason c : Model.TransactionError.Reason.values()) System.out.println(c);
public static Model.TransactionError.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static Model.TransactionError.Reason valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Model.TransactionError.Reason forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.TransactionError.Reason> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()