Class ErrorCode
- java.lang.Object
-
- io.getlime.security.powerauth.lib.mtoken.model.enumeration.ErrorCode
-
public class ErrorCode extends Object
This class contains a list of all possible error codes the mobile token API may return. Return some of these messages as error codes in the context of our standardErrorResponseresponses.- Author:
- Petr Dvorak, petr@wultra.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTIVATION_NOT_ACTIVEError code for situation when an activation is not active.static StringACTIVATION_NOT_CONFIGUREDError code for situation when an activation is not configured.static StringINVALID_ACTIVATIONError code for situation when an invalid activation / device is attempted for operation manipulation.static StringINVALID_REQUESTError code for situation when an invalid / malformed request is sent.static StringOPERATION_ALREADY_CANCELEDError code for situation when an operation was canceled and yet, some further action other than cancellation was requested with that operation.static StringOPERATION_ALREADY_FAILEDError code for situation when an operation was failed and yet, some further action was requested with that operation.static StringOPERATION_ALREADY_FINISHEDError code for situation when an operation was already completed and yet, some further action was requested with that operation.static StringOPERATION_EXPIREDError code for situation when an operation expired and yet, some further action was requested with that operation.static StringPOWERAUTH_AUTH_FAILError code for situation when signature verification fails.static StringPUSH_REGISTRATION_FAILEDError code for situation when registration to push notification fails.
-
Constructor Summary
Constructors Constructor Description ErrorCode()
-
-
-
Field Detail
-
PUSH_REGISTRATION_FAILED
public static final String PUSH_REGISTRATION_FAILED
Error code for situation when registration to push notification fails.- See Also:
- Constant Field Values
-
INVALID_REQUEST
public static final String INVALID_REQUEST
Error code for situation when an invalid / malformed request is sent.- See Also:
- Constant Field Values
-
ACTIVATION_NOT_ACTIVE
public static final String ACTIVATION_NOT_ACTIVE
Error code for situation when an activation is not active.- See Also:
- Constant Field Values
-
ACTIVATION_NOT_CONFIGURED
public static final String ACTIVATION_NOT_CONFIGURED
Error code for situation when an activation is not configured.- See Also:
- Constant Field Values
-
INVALID_ACTIVATION
public static final String INVALID_ACTIVATION
Error code for situation when an invalid activation / device is attempted for operation manipulation.- See Also:
- Constant Field Values
-
POWERAUTH_AUTH_FAIL
public static final String POWERAUTH_AUTH_FAIL
Error code for situation when signature verification fails.- See Also:
- Constant Field Values
-
OPERATION_ALREADY_FINISHED
public static final String OPERATION_ALREADY_FINISHED
Error code for situation when an operation was already completed and yet, some further action was requested with that operation.- See Also:
- Constant Field Values
-
OPERATION_ALREADY_FAILED
public static final String OPERATION_ALREADY_FAILED
Error code for situation when an operation was failed and yet, some further action was requested with that operation.- See Also:
- Constant Field Values
-
OPERATION_ALREADY_CANCELED
public static final String OPERATION_ALREADY_CANCELED
Error code for situation when an operation was canceled and yet, some further action other than cancellation was requested with that operation.- See Also:
- Constant Field Values
-
OPERATION_EXPIRED
public static final String OPERATION_EXPIRED
Error code for situation when an operation expired and yet, some further action was requested with that operation.- See Also:
- Constant Field Values
-
-