Package com.tapkey.mobile.model
Class TkErrorDescriptor
- java.lang.Object
-
- com.tapkey.mobile.model.TkErrorDescriptor
-
public class TkErrorDescriptor extends Object
Contains information about an error that occurred in a component inside the SDK.
-
-
Constructor Summary
Constructors Constructor Description TkErrorDescriptor(String errorCode, String errorMessage, Object errorDetails)
Creates an error descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
Returns the error code.Object
getErrorDetails()
Returns the error details.String
getErrorMessage()
Returns the error message.
-
-
-
Method Detail
-
getErrorCode
public String getErrorCode()
Returns the error code.- Returns:
- the error code.
-
getErrorMessage
public String getErrorMessage()
Returns the error message. The error message is intended to be used for support and debugging but is not intended to be issued to the user.- Returns:
- the error message.
-
getErrorDetails
public Object getErrorDetails()
Returns the error details. Consult documentation of the throwing method for more information about the type of the error details.- Returns:
- the error details.
-
-