Open
Description
The openapi-generator creates this ExceptionFactory:
First of all, I'm not sure handling response codes as exceptions is good practice, but that could be debated.
However, what's much worse is that real exceptions are hidden - in case a timeout occurs, or the connection is closed etc., all I get is a null
response instead of the real exception.
Am I missing something? How are other people handling this?