mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Added reaction exception classes to raise in except blocks
This commit is contained in:
parent
a439d8d917
commit
4fd66713cb
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
base = '‼️ **An internal error has occurred.** Please notify my master! 🐺'
|
base = '⚠️ **An internal error has occurred.** Please notify my master! 🐺'
|
||||||
|
|
||||||
|
class Left(Exception): pass
|
||||||
|
class Right(Exception): pass
|
||||||
|
class Save(Exception): pass
|
||||||
class PostError(Exception): pass
|
class PostError(Exception): pass
|
||||||
class ImageError(Exception): pass
|
class ImageError(Exception): pass
|
||||||
class MatchError(Exception): pass
|
class MatchError(Exception): pass
|
||||||
|
@ -15,4 +18,6 @@ class Timeout(Exception): pass
|
||||||
class InvalidVideoFile(Exception): pass
|
class InvalidVideoFile(Exception): pass
|
||||||
class MissingAttachment(Exception): pass
|
class MissingAttachment(Exception): pass
|
||||||
class TooManyAttachments(Exception): pass
|
class TooManyAttachments(Exception): pass
|
||||||
|
class CheckFail(Exception): pass
|
||||||
|
class Abort(Exception): pass
|
||||||
class Continue(Exception): pass
|
class Continue(Exception): pass
|
||||||
|
|
Loading…
Reference in a new issue