title: Nswag/Angular display API error message in error event
body: <p>First of All I was using the CQRS architecture for the back-end API and using NSWAG as an API connection; that generates API Endpoints in service proxy for the front-end Angular.</p>
  <p>I did simple validation for my POST API, while testing the created API the result was different in DevTools.</p>
  <p>In Network tab the validation that i expected was occured however in Console tab
  the result is different; As a matter of fact that result is i need.</p>
  <p>Here's my problem. In detail with image</p>
  <p>code for API call</p>
  <pre><code>     saveLocationType(createLocationTypeCommand){
      this.tenantService.createLocationType(createLocationTypeCommand).subscribe(result =&gt; {
     // Do Something
      }, error =&gt; {
        console.log(error); 
      })
    }
  </code></pre>
  <p>This is the validation result coming from my API in Network Tab that was correct.
  <a href="https://i.stack.imgur.com/5jVtI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5jVtI.png" alt="enter image description here" /></a></p>
  <p>This is my problem in Console the result here must be the same in Network Tab.
  <a href="https://i.stack.imgur.com/THODY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/THODY.png" alt="enter image description here" /></a></p>
  <p>I believe the result in console was coming from service proxy since that's the one generates/formatting the APIs for the front-end.</p>
  <p>Is there a way to configure the generated service proxy of NSWAG? or is there other way to show the error message in Console tab same in Network Tab?</p>