AgoraChatSDK 1.3.1
Instance Methods | Class Methods | Properties | List of all members
AgoraChatError Class Reference

#import <AgoraChatError.h>

Inheritance diagram for AgoraChatError:

Instance Methods

(instancetype) - initWithDescription:code:
 

Class Methods

(instancetype _Nonnull) + errorWithDescription:code:
 

Properties

AgoraChatErrorCode code
 
NSString * errorDescription
 

Detailed Description

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

Author
Hyphenate
Version
3.00

The error defined by the SDK.

Method Documentation

◆ errorWithDescription:code:

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

Creates an error instance.

Parameters
aDescriptionThe Error description.
aCodeThe Error code.
Returns
The Error instance.

◆ initWithDescription:code:

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

Initializes an error instance.

Parameters
aDescriptionThe Error description.
aCodeThe Error code.
Returns
The Error instance.

Property Documentation

◆ code

- (AgoraChatErrorCode) code
readwritenonatomicassign

The error code.

◆ errorDescription

- (NSString*) errorDescription
readwritenonatomiccopy

The error description.


The documentation for this class was generated from the following file: