2021-01-25 17:28:59 +01:00
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
|
2021-03-02 19:00:08 +01:00
|
|
|
class NetworkException(commands.BadArgument):
|
2021-01-25 17:28:59 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2021-03-02 19:00:08 +01:00
|
|
|
class RFC18(NetworkException):
|
2021-01-25 17:28:59 +01:00
|
|
|
pass
|
2021-01-26 10:21:39 +01:00
|
|
|
|
|
|
|
|
2021-03-02 19:00:08 +01:00
|
|
|
class InvalidIp(NetworkException):
|
2021-01-26 17:11:30 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2021-03-02 19:00:08 +01:00
|
|
|
class InvalidDomain(NetworkException):
|
2021-01-26 17:11:30 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2021-03-02 19:00:08 +01:00
|
|
|
class InvalidQueryType(NetworkException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class VersionNotFound(NetworkException):
|
2021-01-26 10:21:39 +01:00
|
|
|
pass
|
2021-04-22 18:11:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
class InvalidAsn(NetworkException):
|
|
|
|
pass
|