Antom, leading provider of tailored payment solutions

AMSResultError

该类包含 SDK 操作失败时的错误详细信息。

声明

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 }
}

属性

参数

类型

描述

code

String?

错误码,标识错误类型。

message

String?

可读的错误描述信息。

traceId

String?

用于调试的 Trace ID。