CBLMessagingError
@interface CBLMessagingError : NSObject
ENTERPRISE EDITION ONLY.
The messaging error.
-
The error object.
Declaration
Objective-C
@property (nonatomic, readonly) NSError *error;
-
The flag identifying whether the error is recoverable or not.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isRecoverable;
-
Initializes a CBLMessagingError object with the given error and the flag identifying if the error is recoverable or not. The replicator uses isRecoverable flag to determine whether the replication should be retried as the error is recoverable or stopped as the error is non-recoverable.
Declaration
Objective-C
- (instancetype)initWithError:(NSError *)error isRecoverable:(BOOL)isRecoverable;
Parameters
error
The error object.
isRecoverable
The flag identifying if the error is recoverable or not.
Return Value
The CBLMessagingError object.
-
Unavailable
Not available
Declaration
Objective-C
- (instancetype)init;