Move "Can't find fig.yml" error into errors.py
This commit is contained in:
parent
d7e2a77907
commit
d7c714e1c6
2 changed files with 9 additions and 5 deletions
|
|
@ -51,3 +51,10 @@ Couldn't connect to Docker daemon at %s - is it running?
|
|||
|
||||
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
|
||||
""" % url)
|
||||
|
||||
|
||||
class FigFileNotFound(UserError):
|
||||
def __init__(self, filename):
|
||||
super(FigFileNotFound, self).__init__("""
|
||||
Can't find %s. Are you in the right directory?
|
||||
""" % filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue