MCPcopy Index your code
hub / github.com/RustPython/RustPython / handle_error

Function handle_error

Lib/test/test_ssl.py:243–246  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

241
242
243def handle_error(prefix):
244 exc_format = ' '.join(traceback.format_exception(sys.exception()))
245 if support.verbose:
246 sys.stdout.write(prefix + exc_format)
247
248
249def utc_offset(): #NOTE: ignore issues like #1647654

Callers 3

wrap_connMethod · 0.85
runMethod · 0.85
decode_utf8_compatibleFunction · 0.85

Calls 3

joinMethod · 0.45
exceptionMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected