fmt_py_err
No overview available.
def fmt_py_err(
exc: Exception
) - > string
Formats a Python exception and its traceback into a human-readable string for logging or display purposes.
Parameters
| Name | Type | Description |
|---|---|---|
| exc | Exception | The exception object to be formatted. |
Returns
| Type | Description |
|---|---|
string | A formatted string containing the exception type, message, and the full traceback information. |