Class 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 standard ErrorResponse responses.
    Author:
    Petr Dvorak, petr@wultra.com
    • 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
    • Constructor Detail

      • ErrorCode

        public ErrorCode()