#import <AgoraChatError.h>
@header AgoraChatError.h @abstract The SDK defined error.
- Author
- Hyphenate
- Version
- 3.00
The error defined by the SDK.
◆ errorWithDescription:code:
+ (instancetype _Nonnull) errorWithDescription: |
|
(NSString *_Nullable) |
aDescription |
code: |
|
(AgoraChatErrorCode) |
aCode |
|
|
| |
Creates an error instance.
- Parameters
-
aDescription | The Error description. |
aCode | The Error code. |
- Returns
- The Error instance.
◆ initWithDescription:code:
- (instancetype) initWithDescription: |
|
(NSString *) |
aDescription |
code: |
|
(AgoraChatErrorCode) |
aCode |
|
|
| |
Initializes an error instance.
- Parameters
-
aDescription | The Error description. |
aCode | The Error code. |
- Returns
- The Error instance.
◆ code
- (AgoraChatErrorCode) code |
|
readwritenonatomicassign |
◆ errorDescription
- (NSString*) errorDescription |
|
readwritenonatomiccopy |
The documentation for this class was generated from the following file: