IWErrorManager
This framework is written with the Objective-C.
Constructor
shared
+ (IWErrorManager *)sharedDescription
Initializes IWErrorManager
Return Value
Initialized IWErrorManager singleton object
Setting
setErrorCode
- (void)setErrorCode:(NSUInteger)code message:(NSString *)messageDescription
Sets the error code and message.
Parameters
Type
Parameter
Description
NSUInteger
code
Error code
NSString
message
Error message
For error code and message please refer to IWErrorDef.h.
Getting
getLastErrorCode
- (NSUInteger)getLastErrorCodeDescription
Gets an error code in the last occurred error
Return Value
Error code
For error code ad message, please refer to IWErrorDef.h
getLastErrorMessage
- (NSString *)getLastErrorMessageDescription
Gets an error message in the last occurred error
Return Value
Error message
For error code and message, please refer to IWErrorDef.h
getLastErrorCodeAndMessage
- (NSString *)getLastErrorCodeAndMessageDescription
Gets an error message and error code in the last occurred error
Return Value
Error message and error code
For error code and message, please refer to IWErrorDef.h
Resetting
reset
- (void)resetDescription
Initializes error code and message
Last updated
Was this helpful?