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
Replace all HTTPError (and child exception classes) exceptions into method specific meaningfull exceptions.
As an example, when calling container_kill() on a container that is not running, instead of returning a ServerError exception, intercept that (which seems to require regex matching on the response) and return something like a ContainerIsNotRunning exception.
The text was updated successfully, but these errors were encountered:
Replace all HTTPError (and child exception classes) exceptions into method specific meaningfull exceptions.
As an example, when calling container_kill() on a container that is not running, instead of returning a ServerError exception, intercept that (which seems to require regex matching on the response) and return something like a ContainerIsNotRunning exception.
The text was updated successfully, but these errors were encountered: