public static enum VerificationSmsResponseException.Code extends Enum<VerificationSmsResponseException.Code>
Enum Constant and Description |
---|
INTERNAL_ERROR
Internal error occurred
|
INVALID_PHONE_NUMBER
The given phone number is invalid
|
SMS_PROVIDER_ERROR
There was an error with the SMS provider, retry again later
|
Modifier and Type | Method and Description |
---|---|
static VerificationSmsResponseException.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerificationSmsResponseException.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerificationSmsResponseException.Code INVALID_PHONE_NUMBER
public static final VerificationSmsResponseException.Code SMS_PROVIDER_ERROR
public static final VerificationSmsResponseException.Code INTERNAL_ERROR
public static VerificationSmsResponseException.Code[] values()
for (VerificationSmsResponseException.Code c : VerificationSmsResponseException.Code.values()) System.out.println(c);
public static VerificationSmsResponseException.Code valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null