MillicastSDK 2.0.0
Loading...
Searching...
No Matches
obj_c_errors.h
Go to the documentation of this file.
1#ifndef obj_c_errors_h
2#define obj_c_errors_h
3
4#import <Foundation/Foundation.h>
5#import <MillicastSDK/exports.h>
6
7extern NSErrorDomain const MCGenericErrorDomain;
9typedef NS_ERROR_ENUM(MCGenericErrorDomain, MCGenericError) {
11 MCGenericErrorExceptionThrown = 1,
13 MCGenericErrorInvalidJSON,
15 MCGenericErrorInvalidJSONSchema,
17 MCGenericErrorTransactionError,
19 MCGenericErrorNoCredentials,
21 MCGenericErrorInvalidOptions,
23 MCGenericErrorInvalidState,
25 MCGenericErrorRestAPIError,
27 MCGenericErrorWebsocketHasFailed,
29 MCGenericErrorPeerConnectionCreate,
31 MCGenericErrorPeerConnectionCreateOffer,
33 MCGenericErrorPeerConnectionLocalDesc,
35 MCGenericErrorPeerConnectionRemoteDesc,
37 MCGenericErrorPeerConnectionAddTracksFailed,
39 MCGenericErrorPeerConnectionNotEstablished,
41 MCGenericErrorNullListener,
42};
43
44extern NSErrorDomain const MCAsyncOperationCancelledErrorDomain;
47typedef NS_ERROR_ENUM(MCAsyncOperationCancelledErrorDomain, MCAsyncOperationCancelledError) {
49 MCAsyncOperationCancelledErrorMultipleResolve = 1,
52 MCAsyncOperationCancelledErrorAborted,
54 MCAsyncOperationCancelledErrorAbandoned,
56 MCAsyncOperationCancelledErrorActorShutdown,
58 MCAsyncOperationCancelledErrorTimeout,
59};
60
61extern NSErrorDomain const MCInternalSDKErrorDomain;
63typedef NS_ERROR_ENUM(MCInternalSDKErrorDomain, MCInternalSDKError) {
65 MCInternalSDKErrorUnkown = 1,
66};
67
68#endif /* obj_c_errors_h */
NSErrorDomain const MCAsyncOperationCancelledErrorDomain
NSErrorDomain const MCGenericErrorDomain
typedef NS_ERROR_ENUM(MCGenericErrorDomain, MCGenericError)
Generic errors returned by the SDK.
Definition obj_c_errors.h:9
NSErrorDomain const MCInternalSDKErrorDomain