Best way to implement the whole App wide common Error Handling


#1

What’s the best way to implement Error Handling mechanism in Ionic App?
Are there any best practices norms on how to go about it? Like what is the best way to display them in the UI (perhaps an ion-card which is hidden and only displayed in case of error or a toast or maybe our good old alert box), should we also log them somewhere else as well (which obviously will have to cleared/purged), etc.

I am in the final stages of my app development and right now I just log them to console. Should have thought about it at the beginning but being new to Ionic world, wanted to implement the basic functionality first. :slight_smile:

Any help/pointers/links/suggestions will be highly appreciated.

Thank you.