MCPcopy Create free account
hub / github.com/PixarAnimationStudios/OpenUSD / Error

Function Error

docs/python/doxygenlib/cdUtils.py:26–32  ·  view source on GitHub ↗

Output a fatal error message and exit the program.

(msg)

Source from the content-addressed store, hash-verified

24LABEL_STATIC = '**classmethod** '
25
26def Error(msg):
27 """Output a fatal error message and exit the program."""
28 print("Error: %s" % msg, flush=True)
29 if __debugMode:
30 traceback.print_stack()
31 sys.stderr.flush()
32 sys.exit(1)
33
34def Warn(msg):
35 """Output a nonfatal error message."""

Callers 5

parseDoxygenIndexFileMethod · 0.70
traverseMethod · 0.70
__init__Method · 0.70
generateMethod · 0.70
convertDoxygen.pyFile · 0.50

Calls 3

printClass · 0.85
flushMethod · 0.80
exitMethod · 0.80

Tested by

no test coverage detected