NSError(GBError) Category Reference
Declared in | NSError+GBError.h NSError+GBError.m |
Tasks
Other Methods
-
+ errorWithCode:description:reason:
Creates a newNSError
with appledoc domain and given information.
Other Methods
-
+ errorWithCode:description:reason:
Creates a newNSError
with appledoc domain and given information.
Class Methods
errorWithCode:description:reason:
Creates a new NSError
with appledoc domain and given information.
+ (NSError *)errorWithCode:(NSInteger)code description:(NSString *)description reason:(NSString *)reason
Parameters
- code
- Error code.
- description
- Error localized description.
- reason
- Error localized failure reason.
Return Value
Returns autoreleased NSError
with the given data.
Declared In
NSError+GBError.h