For reference, here are some of the possible exceptions (e.g. timeout #77 #97 #129 #135, ConnectionResetError #101, ConnectionRefusedError, gaierror, maybe custom exception wrappers in the future)
mcstatus could produce some exceptions of its own to wrap these exceptions we know about. As for the unknown ones, it could be enough to wrap those with the same base exception class that the rest of our custom exceptions inherit from.
For reference, here are some of the possible exceptions (e.g. timeout #77 #97 #129 #135, ConnectionResetError #101, ConnectionRefusedError, gaierror, maybe custom exception wrappers in the future)
mcstatus could produce some exceptions of its own to wrap these exceptions we know about. As for the unknown ones, it could be enough to wrap those with the same base exception class that the rest of our custom exceptions inherit from.