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

Class NoAnswer

source code

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

The DNS response does not contain an answer to the question.

Instance Methods [hide private]
 
_fmt_kwargs(self, **kwargs)
Format kwargs before printing them.
source code

Inherited from exception.DNSException: __init__, __str__

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]
  fmt = 'The DNS response does not contain an answer to the ques...
hash(x)
  supp_kwargs = set(['response'])

Inherited from exception.DNSException: msg

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:
'The DNS response does not contain an answer to the question: {query}'