Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
pyoctofuss
Commits
69c0a7f4
Commit
69c0a7f4
authored
Apr 27, 2017
by
Mark Caglienzi
Browse files
Create UserAlreadyExistsError
parent
4b3cae5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
octofuss/exceptions.py
View file @
69c0a7f4
# coding: utf-8
__all__
=
[
"HomeDirectoryExistsError"
,
"HomeDirectoryOutsideHomeError"
]
__all__
=
[
"HomeDirectoryExistsError"
,
"HomeDirectoryOutsideHomeError"
,
"UserAlreadyExistsError"
]
class
HomeDirectoryExistsError
(
FileExistsError
):
...
...
@@ -10,3 +10,8 @@ class HomeDirectoryExistsError(FileExistsError):
# TODO: Find a better suited parent exception class
class
HomeDirectoryOutsideHomeError
(
Exception
):
pass
# TODO: Find a better suited parent exception class
class
UserAlreadyExistsError
(
Exception
):
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment