The SDK uses ApiException for sending API exceptions but clients can only read string from this object.
Clients should be able to easily get fields such as HTTP status code, headers, body, message, etc. that are generic to all requests. Status Code is specially useful for emitting metrics and quickly debugging.
API exception should have fields corresponding to them e.g. status_code, body, etc.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
What's on your mind?
The SDK uses ApiException for sending API exceptions but clients can only read string from this object. Clients should be able to easily get fields such as HTTP status code, headers, body, message, etc. that are generic to all requests. Status Code is specially useful for emitting metrics and quickly debugging.
API exception should have fields corresponding to them e.g. status_code, body, etc.
Code of Conduct