AMSResultError
该类包含 SDK 操作失败时的错误详细信息。
声明
Objective-C
Swift
copy
@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属性
参数 | 类型 | 描述 |
code | String? | 错误码,标识错误类型。 |
message | String? | 可读的错误描述信息。 |
traceId | String? | 用于调试的 Trace ID。 |