1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-06 21:45:24 +01:00
Files
atomic/Atomic/backends/_docker_errors.py

8 lines
350 B
Python
Raw Permalink Normal View History

class DockerObjectNotFound(ValueError):
def __init__(self, msg):
super(DockerObjectNotFound, self).__init__("Unable to associate '{}' with an image or container".format(msg))
class NoDockerDaemon(Exception):
def __init__(self):
super(NoDockerDaemon, self).__init__("The docker daemon does not appear to be running.")