SMMobileError Class Reference
| Inherits from | NSError |
|---|---|
| Declared in | SMMobileError.h |
retryAfter
Time(second) value for retrying erroneous action
@property (nonatomic) CGFloat retryAfterAvailability
3.0.5
Discussion
Time(second) value for retrying erroneous action
Declared In
SMMobileError.h
– initWithDomain:code:description:
Creates an error message with specified description message
- (nonnull id)initWithDomain:(NSString *_Nonnull)domain code:(SMErrorTypes)code description:(NSString *_Nullable)descriptionStringParameters
domain |
specific error domain of the object |
|---|---|
code |
specific error code of the error |
descriptionString |
specify error with this message string |
Return Value
new MobileError object
Availability
2.0.0
Discussion
Creates an error message with specified description message
Declared In
SMMobileError.h
– initWithDomain:statusCode:description:
Creates an error message with specified description message using a raw status code.
- (nonnull id)initWithDomain:(NSString *_Nonnull)domain statusCode:(NSInteger)statusCode description:(NSString *_Nullable)descriptionStringDiscussion
Creates an error message with specified description message using a raw status code.
This initializer is useful when SPiDR returns a numeric statusCode that is not
represented in SMErrorTypes (e.g. REST_REQUEST_PENDING_NOTIFICATION = 49).
Declared In
SMMobileError.h