MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / bad_param_error

Function bad_param_error

tools/api.py:47–48  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

45
46
47def bad_param_error(msg: str):
48 return 'throw std::runtime_error("{}")'.format(msg)
49
50
51class Template(string.Template):

Callers 1

add_to_cfunctionMethod · 0.70

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected