Skip to content

Commit 92e1e88

Browse files
committed
Merge pull request #213 from BoltsFramework/nlutsenko.constants
Move error code constant for multiple errors into BFTask.
2 parents 73a36f6 + 89ca31f commit 92e1e88

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Bolts/Common/BFTask.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ NS_ASSUME_NONNULL_BEGIN
2020
*/
2121
extern NSString *const BFTaskErrorDomain;
2222

23+
/*!
24+
An error code used for <BFTask taskForCompletionOfAllTasks:>, if there were multiple errors.
25+
*/
26+
extern NSInteger const kBFMultipleErrorsError;
27+
2328
/*!
2429
An exception that is thrown if there was multiple exceptions on <BFTask taskForCompletionOfAllTasks:>.
2530
*/

Bolts/Common/BFTask.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
}
2121

2222
NSString *const BFTaskErrorDomain = @"bolts";
23+
NSInteger const kBFMultipleErrorsError = 80175001;
2324
NSString *const BFTaskMultipleExceptionsException = @"BFMultipleExceptionsException";
2425

2526
@interface BFTask () {

Bolts/Common/Bolts.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131

3232
NS_ASSUME_NONNULL_BEGIN
3333

34-
/*! @abstract 80175001: There were multiple errors. */
35-
extern NSInteger const kBFMultipleErrorsError;
36-
3734
@interface Bolts : NSObject
3835

3936
/*!

Bolts/Common/Bolts.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
#import "Bolts.h"
1212

13-
NSInteger const kBFMultipleErrorsError = 80175001;
14-
1513
@implementation Bolts
1614

1715
+ (NSString *)version {

0 commit comments

Comments
 (0)