MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __init__

Method __init__

suds/__init__.py:109–113  ·  view source on GitHub ↗
(self, fault, document)

Source from the content-addressed store, hash-verified

107
108class 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

Callers

nothing calls this directly

Calls 2

smart_strFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected