pi_portal.modules.python.traceback.get_traceback

pi_portal.modules.python.traceback.get_traceback(exc: Exception) str[source]

Generate a traceback messages from a raised exception.

Parameters:

exc (Exception) – The exception to extract the traceback from.

Returns:

The string output of the traceback.

Return type:

str