1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-23 22:27:27 +00:00

Added Execute and Evaluate exceptions to be caught in the command

This commit is contained in:
Myned 2017-10-20 16:25:12 -04:00
parent 12c577d9b1
commit 8b0d3d5bb3

View file

@ -2,104 +2,112 @@ base = '⚠️ **An internal error has occurred.** This has been reported to my
async def send_error(ctx, error):
await ctx.send('{}\n```\n{}```'.format(base, error))
await ctx.send('{}\n```\n{}```'.format(base, error))
class Execute(Exception):
pass
class Evaluate(Exception):
pass
class Left(Exception):
pass
pass
class Right(Exception):
pass
pass
class Save(Exception):
pass
pass
class GoTo(Exception):
pass
pass
class Exists(Exception):
pass
pass
class MissingArgument(Exception):
pass
pass
class FavoritesNotFound(Exception):
pass
pass
class PostError(Exception):
pass
pass
class ImageError(Exception):
pass
pass
class MatchError(Exception):
pass
pass
class TagBlacklisted(Exception):
pass
pass
class BoundsError(Exception):
pass
pass
class TagBoundsError(Exception):
pass
pass
class TagExists(Exception):
pass
pass
class TagError(Exception):
pass
pass
class FlagError(Exception):
pass
pass
class BlacklistError(Exception):
pass
pass
class NotFound(Exception):
pass
pass
class Timeout(Exception):
pass
pass
class InvalidVideoFile(Exception):
pass
pass
class MissingAttachment(Exception):
pass
pass
class TooManyAttachments(Exception):
pass
pass
class CheckFail(Exception):
pass
pass
class Abort(Exception):
pass
pass
class Continue(Exception):
pass
pass