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

Define constant variables for multiple {errors, exceptions} userInfo keys #238

Merged
merged 4 commits into from
Mar 17, 2016
Merged

Conversation

chuganzy
Copy link
Contributor

No description provided.

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@chuganzy chuganzy changed the title Define constant variables for userInfo keys Define constant variables for multiple {errors, exceptions} userInfo keys Mar 16, 2016
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@@ -29,6 +29,9 @@ extern NSInteger const kBFMultipleErrorsError;
*/
extern NSString *const BFTaskMultipleExceptionsException;

extern NSString *const BFTaskMultipleErrorsUserInfoKey; // NSArray<NSError *>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we document this the same way as other constants documented?
This will translate in a better auto-generated documentation.

@nlutsenko
Copy link
Member

Looks great outside of documentation, thanks for doing this.
Will merge when documentation is updated.

@chuganzy
Copy link
Contributor Author

@nlutsenko Updated the document ⭐


/*!
An error userInfo key used if there were multiple exceptions on <BFTask taskForCompletionOfAllTasks:>.
Value type is `NSArray<NSException *> *`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: There is an extra space between is and type.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱

@nlutsenko
Copy link
Member

One more nit and it's good to go.

@nlutsenko
Copy link
Member

Will merge as soon as Travis passes.

nlutsenko added a commit that referenced this pull request Mar 17, 2016
Define constant variables for multiple {errors, exceptions} userInfo keys
@nlutsenko nlutsenko merged commit 9067bd0 into BoltsFramework:master Mar 17, 2016
@nlutsenko nlutsenko added this to the 1.7.0 milestone Mar 29, 2016
@facebook-github-bot
Copy link
Contributor

@hoppenichu updated the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants