This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 161
Error handling #54
Comments
What means "unexpected error"? |
IMHO here "unexpected error" means any unexpected client side exception. This includes null pointers (JS NPE). There is no problem with catching exceptions in JS.
|
👍 I was not aware of the ability to catch errors like null pointer access in JS. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Implement an error response interceptor which understands the server protocol (as implemented in https://github.com/oasp/oasp4j/blob/033faefe7052debc5d772a79a946eadfac181e20/oasp4j-modules/oasp4j-rest/src/main/java/io/oasp/module/rest/service/impl/RestServiceExceptionFacade.java) and shows a growl message.
Also, any unexpected errors should be handled (e.g. logged out to the console and shown as growl message).
For growl messages use https://github.com/JanStevens/angular-growl-2.
The text was updated successfully, but these errors were encountered: