Lines Matching refs:orig_error
1123 self.orig_error = exc_info[1]
1155 def __init__(self, msg=None, orig_error=None): argument
1156 if msg is None and orig_error is not None:
1157 msg = str(orig_error)
1158 if orig_error is None:
1159 orig_error = ''
1163 self.orig_error = orig_error
1231 def __init__(self, host, port=None, msg=None, orig_error=None): argument
1234 if orig_error is None:
1235 orig_error = ''
1237 orig_error = '; ' + str(orig_error)
1238 ConnectionError.__init__(self, msg=msg, orig_error=orig_error)
1272 def __init__(self, path, msg, orig_error=None): argument
1274 if orig_error is None:
1275 orig_error = ''
1279 orig_error = ': %r' % (orig_error,)
1280 TransportError.__init__(self, msg, orig_error=orig_error)
2179 def __init__(self, host, port, orig_error): argument
2182 orig_error=repr(orig_error.args))