You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
Describe the bug
In some places, Exception is raised - this isn't good practice as it makes it almost impossible for the users of the library to catch this specific exception without hiding bugs - see discussion here.
To Reproduce
n/a
Expected behavior
It’s much better to define a custom Exception class, or use one of the built-ins (e.g. RuntimeError).
Examples around here - in this case, InvalidResponseError might be a better exception type.
System (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
In some places,
Exception
is raised - this isn't good practice as it makes it almost impossible for the users of the library to catch this specific exception without hiding bugs - see discussion here.To Reproduce
n/a
Expected behavior
It’s much better to define a custom Exception class, or use one of the built-ins (e.g.
RuntimeError
).Examples around here - in this case,
InvalidResponseError
might be a better exception type.System (please complete the following information):
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: