Antom, leading provider of tailored payment solutions

AMSResultError

The AMSResultError class encapsulates detailed contextual information about errors that occur during operation execution, including error codes, description text, and log IDs for tracking purposes.

getCode()

Return the error code of the current operation.

java
public String getCode()

kotlin
fun getCode(): String 

Return value

Data type

Description

String

Error code that identifies the error type.

getMessage()

Returns readable error description information.

java
public String getMessage()

kotlin
fun getMessage(): String

Return value

Data type

Description

String

Readable error description information.