Antom, leading provider of tailored payment solutions

AMSResultError

This class contains detailed error information when SDK operations fail.

Declaration

objectivec
@interface AMSResultError : NSObject

@property (nonatomic, strong, readonly, nullable) NSString *code;
@property (nonatomic, strong, readonly, nullable) NSString *message;
@property (nonatomic, strong, readonly, nullable) NSString *traceId;

@end

swift
public class AMSResultError : NSObject {
    public var code: String? { get }
    public var message: String? { get }
    public var traceId: String? { get }
}

Property

Parameter

Type

Description

code

String?

Error code, identifies the error type.

message

String?

Readable error description information.

traceId

String?

Trace ID for debugging.