Add exceptions
This commit is contained in:
parent
cc5a342f91
commit
19de0177d5
1 changed files with 11 additions and 0 deletions
11
yaboli/exceptions.py
Normal file
11
yaboli/exceptions.py
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
class YaboliException(Exception):
|
||||||
|
"""
|
||||||
|
Generic yaboli exception class.
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
class CreateBotException(YaboliException):
|
||||||
|
"""
|
||||||
|
Raised when a bot could not be created.
|
||||||
|
"""
|
||||||
|
pass
|
||||||
Loading…
Add table
Add a link
Reference in a new issue