Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Created June 25, 2020 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NyaGarcia/c188e5d87c301d5599461928c445ddb1 to your computer and use it in GitHub Desktop.
Save NyaGarcia/c188e5d87c301d5599461928c445ddb1 to your computer and use it in GitHub Desktop.
Handlings errors with the Angular ErrorHandler class
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