(self, fault, document)
| 107 | |
| 108 | class WebFault(Exception): |
| 109 | def __init__(self, fault, document): |
| 110 | if hasattr(fault, 'faultstring'): |
| 111 | Exception.__init__(self, smart_str("Server raised fault: '%s'" % fault.faultstring)) |
| 112 | self.fault = fault |
| 113 | self.document = document |
| 114 | |
| 115 | # |
| 116 | # Logging |