YMKOfflineCacheManagerErrorListener

@protocol YMKOfflineCacheManagerErrorListener <NSObject>

Summary

Instance methods

- (void)onErrorWithError:(nonnull NSError *)error;

- (void)onRegionErrorWithError:(nonnull NSError *)error
                      regionId:(NSUInteger)regionId;

Instance methods

onErrorWithError:

- (void)onErrorWithError:(nonnull NSError *)error;

Parameters

error

Error has occurred in offline cache manager. Expected error types: 1. YRTRemoteError 2. YRTLocalError


onRegionErrorWithError:regionId:

- (void)onRegionErrorWithError:(nonnull NSError *)error
                      regionId:(NSUInteger)regionId;

Parameters

error

Error has occurred in specific region. Expected error types: 1. YRTRemoteError 2. YRTLocalError