MCPcopy Create free account
hub / github.com/apache/cloudstack / GetDetailExceptionInfo

Function GetDetailExceptionInfo

tools/marvin/marvin/cloudstackException.py:59–70  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

57
58
59def GetDetailExceptionInfo(e):
60 if e is not None:
61 if type(e) is str:
62 return e
63 elif type(e) is tuple:
64 (exc_type, exc_value, exc_traceback) = e
65 else:
66 exc_type, exc_value, exc_traceback = sys.exc_info()
67 return str(repr(traceback.format_exception(
68 exc_type, exc_value, exc_traceback)))
69 else:
70 return EXCEPTION_OCCURRED
71
72class CloudstackAclException():
73

Callers 15

start_marvinMethod · 0.90
__setLogHandlerMethod · 0.90
__cleanPreviousLogsMethod · 0.90
createLogsMethod · 0.90
createConnectionMethod · 0.90
runCommandMethod · 0.90
__checkImportMethod · 0.90
printMsgMethod · 0.90
handleErrorMethod · 0.90
handleFailureMethod · 0.90
startMarvinMethod · 0.90
finalizeMethod · 0.90

Calls

no outgoing calls