netcenlib.common.exceptions module
Exception utilities.
- netcenlib.common.exceptions.log_error(type: type | None = None, exc: Exception | None = None, exc_traceback: Any | None = None, title: str | None = None)[source]
Intended to be assigned to sys.exception as a hook. Gives programmer opportunity to do something useful with info from uncaught exceptions.
Parameters type: Exception type value: Exception’s value tb: Exception’s traceback title: Additional title