Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ raise_error
Function
raise_error
tests/chat/test_chat_context.py:541–542 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
539
540
# Make _initialize_tools raise an exception
541
async
def
raise_error():
542
raise
RuntimeError(
"Test error"
)
543
544
ctx._initialize_tools = raise_error
545
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected