Created
June 25, 2020 15:23
-
-
Save NyaGarcia/c188e5d87c301d5599461928c445ddb1 to your computer and use it in GitHub Desktop.
Handlings errors with the Angular ErrorHandler class
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
class MyAwesomeErrorHandler implements ErrorHandler { | |
handleError(error) { | |
// Here we can implement our custom error handling logic | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment