Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move error code constant for multiple errors into BFTask. #213

Merged
merged 1 commit into from
Jan 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Bolts/Common/BFTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ NS_ASSUME_NONNULL_BEGIN
*/
extern NSString *const BFTaskErrorDomain;

/*!
An error code used for <BFTask taskForCompletionOfAllTasks:>, if there were multiple errors.
*/
extern NSInteger const kBFMultipleErrorsError;

/*!
An exception that is thrown if there was multiple exceptions on <BFTask taskForCompletionOfAllTasks:>.
*/
Expand Down
1 change: 1 addition & 0 deletions Bolts/Common/BFTask.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
}

NSString *const BFTaskErrorDomain = @"bolts";
NSInteger const kBFMultipleErrorsError = 80175001;
NSString *const BFTaskMultipleExceptionsException = @"BFMultipleExceptionsException";

@interface BFTask () {
Expand Down
3 changes: 0 additions & 3 deletions Bolts/Common/Bolts.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@

NS_ASSUME_NONNULL_BEGIN

/*! @abstract 80175001: There were multiple errors. */
extern NSInteger const kBFMultipleErrorsError;

@interface Bolts : NSObject

/*!
Expand Down
2 changes: 0 additions & 2 deletions Bolts/Common/Bolts.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#import "Bolts.h"

NSInteger const kBFMultipleErrorsError = 80175001;

@implementation Bolts

+ (NSString *)version {
Expand Down