Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular Global Error Handling

Dhananjay Kumar
October 31, 2024
14

Angular Global Error Handling

Dhananjay Kumar presentation on Angular Global Error Handling for ngPoland 2024

Dhananjay Kumar

October 31, 2024
Tweet

Transcript

  1. Why Global Error Handling • Set up custom error handling.

    • Send error logs to the server. • Redirect to an error page when necessary. • Conduct an error analysis for the application. • Integrate Azure App Insight, Amazon CloudWatch, etc.
  2. Log • Create an interface • Develop a service to

    send logs to the server via API. • Integrate the service within the GlobalErrorHandler to log errors and trace details.