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

Add a promise rejection handler convenience method #29

Closed
briancavalier opened this issue Apr 24, 2012 · 1 comment
Closed

Add a promise rejection handler convenience method #29

briancavalier opened this issue Apr 24, 2012 · 1 comment
Assignees
Milestone

Comments

@briancavalier
Copy link
Member

See #13 for a discussion of various convenience methods. That thread led to the implementation of .always() in v1.1.0. We're still considering adding promise.otherwise(errback) as suggested by @jonnyreeves, or a method of some other name for easily registering rejection handlers.

@briancavalier
Copy link
Member Author

promise.otherwise(errback) just landed in the dev branch, and will be in the upcoming 1.2.0 release. Thanks again to @jonnyreeves for suggesting the name "otherwise"!

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

No branches or pull requests

1 participant