ShengwangChatSDK 1.3.2
构造函数 | 类方法 | 属性 | 所有成员列表
AgoraChatError类 参考

#import <AgoraChatError.h>

类 AgoraChatError 继承关系图:

构造函数

(instancetype) - initWithDescription:code:
 

类方法

(instancetype _Nonnull) + errorWithDescription:code:
 

属性

AgoraChatErrorCode code
 
NSString * errorDescription
 

详细描述

@header AgoraChatError.h @abstract The SDK defined error.

作者
Hyphenate
版本
3.00

The error defined by the SDK.

函数文档

◆ errorWithDescription:code:

+ (instancetype _Nonnull) errorWithDescription: (NSString *_Nullable)  aDescription
code: (AgoraChatErrorCode)  aCode 

Creates an error instance.

参数
aDescriptionThe Error description.
aCodeThe Error code.
返回
The Error instance.

◆ initWithDescription:code:

- (instancetype) initWithDescription: (NSString *)  aDescription
code: (AgoraChatErrorCode)  aCode 

Initializes an error instance.

参数
aDescriptionThe Error description.
aCodeThe Error code.
返回
The Error instance.

属性说明

◆ code

- (AgoraChatErrorCode) code
readwritenonatomicassign

The error code.

◆ errorDescription

- (NSString*) errorDescription
readwritenonatomiccopy

The error description.


该类的文档由以下文件生成: