MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Functions | Variables
obj_c_errors.h File Reference
#import <Foundation/Foundation.h>
#import <MillicastSDK/exports.h>
Include dependency graph for obj_c_errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

typedef NS_ERROR_ENUM (MCGenericErrorDomain, MCGenericError)
 Generic errors returned by the SDK.
 
typedef NS_ERROR_ENUM (MCAsyncOperationCancelledErrorDomain, MCAsyncOperationCancelledError)
 
typedef NS_ERROR_ENUM (MCInternalSDKErrorDomain, MCInternalSDKError)
 Error category for unidentified errors. Usually representing a bug.
 

Variables

NSErrorDomain const MCGenericErrorDomain
 
NSErrorDomain const MCAsyncOperationCancelledErrorDomain
 
NSErrorDomain const MCInternalSDKErrorDomain
 

Function Documentation

◆ NS_ERROR_ENUM() [1/3]

typedef NS_ERROR_ENUM ( MCAsyncOperationCancelledErrorDomain  ,
MCAsyncOperationCancelledError   
)

Error category for errors triggered when the operation failed because it was abandoned for various reasons.

Internal SDK logic error.

Operation was cancelled because a newer request made it obsolete.

Operation was cancelled for unspecified reasons.

Operation was cancelled because shutdown or disconnection in progress.

Operation was cancelled due to a timeout.

◆ NS_ERROR_ENUM() [2/3]

typedef NS_ERROR_ENUM ( MCGenericErrorDomain  ,
MCGenericError   
)

Generic errors returned by the SDK.

Exception was thrown and not handled.

Signaling provided invalid JSON.

Signaling provided JSON with missing or incorrect data.

Signaling returned error for the request.

No credentials are set.

Invalid options set for the request.

Invalid state of the client.

Director REST API returned an error.

Websocket not connected.

Can not create PeerConnection.

Can not create PeerConnection offer.

Can not set PeerConnection local description.

Can not set PeerConnection remote description.

Can not add tracks to the peer connection.

PeerConnection was not established.

Listener not set while it should be.

◆ NS_ERROR_ENUM() [3/3]

typedef NS_ERROR_ENUM ( MCInternalSDKErrorDomain  ,
MCInternalSDKError   
)

Error category for unidentified errors. Usually representing a bug.

Uknown error.

Variable Documentation

◆ MCAsyncOperationCancelledErrorDomain

NSErrorDomain const MCAsyncOperationCancelledErrorDomain
extern

◆ MCGenericErrorDomain

NSErrorDomain const MCGenericErrorDomain
extern

◆ MCInternalSDKErrorDomain

NSErrorDomain const MCInternalSDKErrorDomain
extern