title: Getting Error Message from Tomcat error page with Angular 7
body: <p>I'm using <code>response.sendError(400,"MyErrorMessage");</code> in Java to send and error response to the client. My Client is an Angular app and I would like to be able to get this messages in it so I could display it in a toast.</p>
  
  <p>The problem is i'm using Tomcat and it returns an ugly error page, and I don't get how to get my error message from it. Anyone have an idea ?</p>