NSError(DJISDK)
@interface NSError (DJISDK)
NSError’s DJISDK category. It contains methods to create custom NSErrors.
-
Get DJISDKError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKErrorForCode:(NSInteger)errorCode;Parameters
errorCodeerrorCode for
DJISDKError. -
Get DJISDKCameraError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKCameraErrorForCode:(NSInteger)errorCode;Parameters
errorCodeerrorCode for
DJISDKCameraError. -
Get DJISDKFlightControllerError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKFlightControllerErrorForCode: (NSInteger)errorCode;Parameters
errorCodeerrorCode for
DJISDKFlightControllerError. -
Get DJISDKMissionError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKMissionErrorForCode:(NSInteger)errorCode;Parameters
errorCodeerrorCode for
DJISDKMissionError. -
Get DJISDKRegistrationError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKRegistrationErrorForCode: (DJISDKRegistrationError)errorCode;Parameters
errorCodeerrorCode for
DJISDKRegistrationError. -
Get DJISDKGEOError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKGEOErrorForCode:(DJISDKGEOError)errorCode;Parameters
errorCodeerrorCode for
DJISDKGEOError -
Get DJISDKError
Declaration
Objective-C
+ (instancetype _Nullable)DJISDKErrorForCode:(NSInteger)errorCode domain:(NSString *_Nonnull)errorDomain desc:(const NSString *_Nonnull)desc;Parameters
errorCodeError code for
DJISDKError.errorDomainDomain for
DJISDKError.descDescription for
DJISDKError.
View on GitHub
NSError(DJISDK) Category Reference