swot_simulator.exception.structured_traceback#
- swot_simulator.exception.structured_traceback(exc: Exception, call_stack: StackSummary) str [source]#
Return a nice text describing the call stack which threw an exception.
- Parameters
exc (Exception) – Exception raised.
call_stack (traceback.StackSummary) – Exception call stack thrown out.
- Returns
The text representing the call stack of the thrown exception.
- Return type