You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
326 B
13 lines
326 B
from typing import Set, Optional, Dict
|
|
|
|
class DNSException(Exception):
|
|
supp_kwargs : Set[str]
|
|
kwargs : Optional[Dict]
|
|
fmt : Optional[str]
|
|
|
|
class SyntaxError(DNSException): ...
|
|
class FormError(DNSException): ...
|
|
class Timeout(DNSException): ...
|
|
class TooBig(DNSException): ...
|
|
class UnexpectedEnd(SyntaxError): ...
|