NationalBankBelgium / stark

Modern client-side Web application framework based on Angular, Angular Material / Material Design, TypeScript, Redux, RxJS, ...
https://stark.nbb.be
Other
55 stars 23 forks source link

core: generic error handling #233

Open dsebastien opened 6 years ago

dsebastien commented 6 years ago

Goal: clarify how errors should be handled on the client side and provide some generic/reusable error handling mechanisms (routing errors, unhandled exceptions, ...).

Provide some documentation about generic error handling.

Cases to consider:

1) interactions with the back-end and errors:

2) best practices for defensive programming on the front-end

For the dev guide:

Tasks:

dsebastien commented 6 years ago

Some old (NG1) links:

dsebastien commented 6 years ago

https://medium.com/@siddhartha.ng/angular-2-error-handling-99575c546b21