Skip to content

Wrap HTTPError exceptions into meaningfull exceptions #56

@esben

Description

@esben

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions