MCPcopy Create free account
hub / github.com/pytorch/executorch / error

Function error

scripts/check_binary_dependencies.py:80–83  ·  view source on GitHub ↗

Emit an error message and kill the script.

(message: str)

Source from the content-addressed store, hash-verified

78
79
80def error(message: str) -> NoReturn:
81 """Emit an error message and kill the script."""
82 print(message)
83 sys.exit(STATUS_SCRIPT_ERROR)
84
85
86def get_tool_output(args: List[str]) -> str:

Callers 2

get_cached_symbolsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected