2017-10-17 22:00:20 +00:00
|
|
|
base = '⚠️ **An internal error has occurred.** This has been reported to my master. 🐺'
|
2017-09-24 15:05:28 +00:00
|
|
|
|
2017-10-13 02:26:22 +00:00
|
|
|
|
2017-10-15 01:54:18 +00:00
|
|
|
async def send_error(ctx, error):
|
2017-10-17 23:04:45 +00:00
|
|
|
await ctx.send('{}\n```\n{}```'.format(base, error))
|
2017-10-15 01:54:18 +00:00
|
|
|
|
|
|
|
|
2017-10-13 02:26:22 +00:00
|
|
|
class Left(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Right(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Save(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class GoTo(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Exists(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
2017-10-15 17:30:40 +00:00
|
|
|
class MissingArgument(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-15 17:30:40 +00:00
|
|
|
|
|
|
|
|
2017-10-16 06:06:50 +00:00
|
|
|
class FavoritesNotFound(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-16 06:06:50 +00:00
|
|
|
|
|
|
|
|
2017-10-13 02:26:22 +00:00
|
|
|
class PostError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ImageError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MatchError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TagBlacklisted(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class BoundsError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TagBoundsError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TagExists(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TagError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class FlagError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class BlacklistError(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class NotFound(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Timeout(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class InvalidVideoFile(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MissingAttachment(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TooManyAttachments(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class CheckFail(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Abort(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|
2017-10-13 02:26:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Continue(Exception):
|
2017-10-17 23:04:45 +00:00
|
|
|
pass
|