It makes handling of API errors more robust by catching cases where the response is not JSON
It stops using the general Exception class (which doesn't provide information about what type of error it is), and separates into Python ValueError and a new zeno-clientAPIError class.
Description
This PR makes two changes:
Exception
class (which doesn't provide information about what type of error it is), and separates into PythonValueError
and a newzeno-client
APIError
class.References
Blocked by