tuxbot-bot/tuxbot/cogs/Network/functions/exceptions.py

29 lines
380 B
Python

from discord.ext import commands
class NetworkException(commands.BadArgument):
pass
class RFC18(NetworkException):
pass
class InvalidIp(NetworkException):
pass
class InvalidDomain(NetworkException):
pass
class InvalidQueryType(NetworkException):
pass
class VersionNotFound(NetworkException):
pass
class InvalidAsn(NetworkException):
pass