Skip to content

Instantly share code, notes, and snippets.


TheSavior/promise.reject.js Secret

Created Nov 3, 2016
What would you like to do?
Rejected Promise
Promise.reject(new Error('an error occurred in a promise'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.