class ErrorString(SafeString): (source)
Method | __str__ |
Undocumented |
Method | __unicode__ |
Return unicode representation of self.data . |
Inherited from SafeString
:
Method | __init__ |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | decoding_errors |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | encoding_errors |
Undocumented |
Return unicode representation of self.data
.
Try unicode(self.data), catch UnicodeError
and
self.data
is an Exception instance, work around
http://bugs.python.org/issue2517 with an emulation of
Exception.__unicode__,self.encoding
and self.decoding_errors
.