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 ProblemType.prototype.reject() method #1

Merged
merged 2 commits into from
Oct 18, 2016

Conversation

SamPlacette
Copy link
Collaborator

Hi, I really enjoy using your library. It is very straight forward and clean.

I created this PR with a couple minor fixes and a new prototype method to make it even easier to use with Promises. I have included some documentation and tests. Please take a look and let me know if you have any questions. Thanks!

Change details:

  • Add ProblemType.prototype.reject() method
  • Add missing http-status dependency
  • Fix test for ProblemType.prototype.throw() method
  • Add new test and documentation for ProblemType.prototype.reject() method

- Add missing http-status dependency
- Fix test for ProblemType.prototype.throw() method
- Add new test and documentation for ProblemType.prototype.reject() method
@SamPlacette
Copy link
Collaborator Author

Hi @jasnell , I see you have approved this PR, thank you. Could you please merge and release to NPM? As the project maintainer only you can perform the merge.

Thank you
Sam

- Support runtimes like Safari that do not support Error.captureStackTrace
@jasnell jasnell merged commit ade64c1 into jasnell:master Oct 18, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants