acacode / swagger-typescript-api

Generate the API Client for Fetch or Axios from an OpenAPI Specification
MIT License
3.38k stars 361 forks source link

How to retrieve error status code? #905

Closed FezVrasta closed 2 months ago

FezVrasta commented 2 months ago

I would like to retrieve the error status code when a call fails, I can't find any way to access that info?