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
I use osfclient programmaticly for integration OSF with DVC. Now, if osfclient get responce with error code (429 for example) it raise RuntimeError. But it is not very usefull, because it is quite difficult to distinguish response with error code from other problems that may raise thise exception in Python.
For this reason, I propose to add a separate exception class(s) for API responses with error codes, as is currently done with an authentication error.
The text was updated successfully, but these errors were encountered:
I use
osfclient
programmaticly for integration OSF with DVC. Now, ifosfclient
get responce with error code (429 for example) it raiseRuntimeError
. But it is not very usefull, because it is quite difficult to distinguish response with error code from other problems that may raise thise exception in Python.For this reason, I propose to add a separate exception class(s) for API responses with error codes, as is currently done with an authentication error.
The text was updated successfully, but these errors were encountered: