Interface MobileGatewayError


public interface MobileGatewayError
The MobileGatewayError provides the details of the error occurred during a card operation.
  • Method Details

    • getSDKErrorCode

      MGErrorCode getSDKErrorCode()
      Provides the SDK Error code occurred.
      Returns:
      the code of SDK error.
    • getServerErrorCode

      int getServerErrorCode()
      Provides the Server Error code.
      Returns:
      the Server error code.
    • getHTTPStatusCode

      int getHTTPStatusCode()
      Provides the HTTP Status code for Communication errors.
      Returns:
      the HTTP Status code.
    • getMessage

      String getMessage()
      Provides the description of the error.
      Returns:
      the description of the error.
    • getCausingException

      Exception getCausingException()
      Provides the causing exception for the current error (if available)
      Returns:
      the causing exception Object