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

Method exception

Lib/logging/__init__.py:1553–1557  ·  view source on GitHub ↗

Convenience method for logging an ERROR with exception information.

(self, msg, *args, exc_info=True, **kwargs)

Source from the content-addressed store, hash-verified

1551 self._log(ERROR, msg, args, **kwargs)
1552
1553 def exception(self, msg, *args, exc_info=True, **kwargs):
1554 """
1555 Convenience method for logging an ERROR with exception information.
1556 """
1557 self.error(msg, *args, exc_info=exc_info, **kwargs)
1558
1559 def critical(self, msg, *args, **kwargs):
1560 """

Callers 1

handleErrorMethod · 0.45

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected