dns :: resolver :: NoNameservers :: Class NoNameservers |
[hide private]
[frames] | no frames]

# Class NoNameservers

source code

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
              exception.DNSException --+
                                       |
                                      NoNameservers

All nameservers failed to answer the query.

errors: list of servers and respective errors The type of errors is [(server ip address, any object convertible to string)]. Non-empty errors list will add explanatory message ()

Instance Methods | [hide private]
_fmt_kwargs(self, **kwargs) Format kwargs before printing them. | source code
Inherited from `exception.DNSException`: `__init__`, `__str__` Inherited from `exception.DNSException` (private): `_check_kwargs`, `_check_params` Inherited from `exceptions.Exception`: `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__unicode__` Inherited from `object`: `__format__`, `__hash__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Class Variables | [hide private]
| msg = ``'``All nameservers failed to answer the query.``'`` hash(x)
| fmt = ``'``All nameservers failed to answer the query {query}: {er``...`` hash(x)
| supp_kwargs = ``set([``'``errors``'``,` `'``request``'``])``

Properties | [hide private]
Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`

Method Details | [hide private]

### _fmt_kwargs(self, **kwargs) | source code
Format kwargs before printing them. Resulting dictionary has to have keys necessary for str.format call on fmt class variable. Overrides: exception.DNSException._fmt_kwargs (inherited documentation)

Class Variable Details | [hide private]

  ### fmt hash(x) Value:
      'All nameservers failed to answer the query {query}: {errors}'