MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / custom_exception

Method custom_exception

tests/unittest/executor/test_rpc.py:265–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263 return 1 / 0
264
265 def custom_exception(self):
266 raise TestRpcError.CustomError("Custom error occurred")
267
268 addr = get_unique_ipc_addr()
269 with RPCServer(App()) as server:

Callers 1

test_task_errorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected