AMSResultError
该类包含 SDK 操作失败时的错误详细信息。
声明
Objective-C
@interface AMSResultError : NSObject
@property (nonatomic, strong, readonly, nullable) NSString *code;
@property (nonatomic, strong, readonly, nullable) NSString *message;
@property (nonatomic, strong, readonly, nullable) NSString *traceId;
@endSwift
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。 |