From 4fd66713cba598e54493328df39c420fc2ed70ac Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 11 Oct 2017 02:58:17 -0400 Subject: [PATCH] Added reaction exception classes to raise in except blocks --- src/main/misc/exceptions.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/misc/exceptions.py b/src/main/misc/exceptions.py index 1ab5988..4c3e403 100644 --- a/src/main/misc/exceptions.py +++ b/src/main/misc/exceptions.py @@ -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 ImageError(Exception): pass class MatchError(Exception): pass @@ -15,4 +18,6 @@ class Timeout(Exception): pass class InvalidVideoFile(Exception): pass class MissingAttachment(Exception): pass class TooManyAttachments(Exception): pass +class CheckFail(Exception): pass +class Abort(Exception): pass class Continue(Exception): pass