NSError(Branch)
@interface NSError (Branch)
A convenience category for creating Branch errors.
-
Undocumented
Declaration
Objective-C
+ (NSError*) branchErrorWithCode:(BNCErrorCode)errorCode;
Swift
class func branch(with errorCode: BNCErrorCode) -> Error
-
Undocumented
Declaration
Objective-C
+ (NSError*) branchErrorWithCode:(BNCErrorCode)errorCode error:(NSError*_Nullable)error;
Swift
class func branch(with errorCode: BNCErrorCode, error: Error?) -> Error
-
Undocumented
Declaration
Objective-C
+ (NSError*) branchErrorWithCode:(BNCErrorCode)errorCode localizedMessage:(NSString*_Nullable)message;
Swift
class func branch(with errorCode: BNCErrorCode, localizedMessage message: String?) -> Error