MCPcopy Index your code
hub / github.com/docker/docker-py / DockerException

Class DockerException

docker/errors.py:13–19  ·  view source on GitHub ↗

A base class from which all other exceptions inherit. If you want to catch all errors that the Docker SDK might raise, catch this base exception.

Source from the content-addressed store, hash-verified

11
12
13class DockerException(Exception):
14 """
15 A base class from which all other exceptions inherit.
16
17 If you want to catch all errors that the Docker SDK might raise,
18 catch this base exception.
19 """
20
21
22def create_api_error_from_http_exception(e):

Callers 5

closeMethod · 0.85
__init__Method · 0.85
labelsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected