msaUtils Module¶
.errorhandling
¶
Classes¶
MSABaseExceptionHandler ¶
Attributes¶
Functions¶
handle ¶
handle Exception
Get the current system exception, extract unformatter stack traces as tuples.
flowchart LR
system_exception -. n:m .-> Exceptions
Exceptions -. m:m .-> Extract
Extract -. m:m .-> Formatted
Formats stacktrace to: File : %s , Line : %d, Func.Name : %s, Message : %s
Logs the information with logger.error() str, args, type, value, stack_trace
RAISES | DESCRIPTION |
---|---|
TypeError
|
Exception: ... Arguments: ... Message: ... Stack trace: ... |
Functions¶
getMSABaseExceptionHandler
cached
¶
This function returns a cached instance of the MSABaseExceptionHandler object.
Note
Caching is used to prevent re-reading the environment every time the MSABaseExceptionHandler is used.
Last update:
September 24, 2022
Created: September 24, 2022
Created: September 24, 2022