MBMResponseError
Deprecated
@interface MBMResponseError : NSObject
Describes an offline request response error.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithReason:(MBMResponseErrorReason)reason message:(nonnull NSString *)message retryAfter:(nullable NSDate *)retryAfter;
Swift
init(reason: ResponseErrorReason, message: String, retryAfter: Date?)
-
The reason for the response error.
Declaration
Objective-C
@property (nonatomic, readonly) MBMResponseErrorReason reason;
Swift
var reason: ResponseErrorReason { get }
-
An error message
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *message;
Swift
var message: String { get }
-
Time after which to try again.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *retryAfter;
Swift
var retryAfter: Date? { get }