File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
1919typedef NS_ENUM (NSInteger , BNCErrorCode) {
2020 BNCInitError = 1000 ,
2121 BNCDuplicateResourceError = 1001 ,
22+ BNCRedeemCreditsError = 1002 , // Deprecated
2223 BNCBadRequestError = 1003 ,
2324 BNCServerProblemError = 1004 ,
2425 BNCNilLogError = 1005 , // Not used at the moment.
@@ -28,6 +29,7 @@ typedef NS_ENUM(NSInteger, BNCErrorCode) {
2829 BNCContentIdentifierError = 1009 ,
2930 BNCSpotlightNotAvailableError = 1010 ,
3031 BNCSpotlightTitleError = 1011 ,
32+ BNCRedeemZeroCreditsError = 1012 , // Deprecated
3133 BNCSpotlightIdentifierError = 1013 ,
3234 BNCSpotlightPublicIndexError = 1014 ,
3335 BNCTrackingDisabledError = 1015 ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ + (NSString *) messageForCode:(BNCErrorCode)code {
2828 messages = [NSMutableDictionary <NSNumber *, NSString *> new];
2929 [messages setObject: @" The Branch user session has not been initialized." forKey: @(BNCInitError)];
3030 [messages setObject: @" A resource with this identifier already exists." forKey: @(BNCDuplicateResourceError)];
31+ [messages setObject: @" You're trying to redeem more credits than are available. Have you loaded rewards?" forKey: @(BNCRedeemCreditsError)]; // Deprecated
3132 [messages setObject: @" The network request was invalid." forKey: @(BNCBadRequestError)];
3233 [messages setObject: @" Trouble reaching the Branch servers, please try again shortly." forKey: @(BNCServerProblemError)];
3334 [messages setObject: @" Can't log error messages because the logger is set to nil." forKey: @(BNCNilLogError)];
@@ -37,6 +38,7 @@ + (NSString *) messageForCode:(BNCErrorCode)code {
3738 [messages setObject: @" A canonical identifier or title are required to uniquely identify content." forKey: @(BNCContentIdentifierError)];
3839 [messages setObject: @" The Core Spotlight indexing service is not available on this device." forKey: @(BNCSpotlightNotAvailableError)];
3940 [messages setObject: @" Spotlight indexing requires a title." forKey: @(BNCSpotlightTitleError)];
41+ [messages setObject: @" Can't redeem zero credits." forKey: @(BNCRedeemZeroCreditsError)]; // Deprecated
4042 [messages setObject: @" The Spotlight identifier is required to remove indexing from spotlight." forKey: @(BNCSpotlightIdentifierError)];
4143 [messages setObject: @" Spotlight cannot remove publicly indexed content." forKey: @(BNCSpotlightPublicIndexError)];
4244 [messages setObject: @" User tracking is disabled and the request is not allowed" forKey: @(BNCTrackingDisabledError)];
You can’t perform that action at this time.
0 commit comments