-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Currently in unmarshall it tries to read the error into an APIError struct but if it doesn't match the error text is lost forever.
It would be nice if
- The APIError struct matched the error json (I'm not sure if this applies to just some error responses or what)
- If deserialization fails there the raw body text is available to client libraries
Error json payloads are unlikely to be large so I don't think deserialization needs to happen directly from the body reader, it could be buffered entirely up front.
Metadata
Metadata
Assignees
Labels
No labels