Created
January 23, 2018 00:34
-
-
Save lubien/17437e5ce5c60f95c387a1ec4d3b31c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Promise.reject('some error') | |
.catch(err => { throw err }) // runs | |
.catch(err => console.log(2)) // runs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment