MCPcopy Create free account
hub / github.com/IBM/mcp-cli / mark_error

Method mark_error

src/mcp_cli/display/models.py:322–325  ·  view source on GitHub ↗

Mark streaming as errored.

(self)

Source from the content-addressed store, hash-verified

320 self.phase = StreamingPhase.COMPLETED
321
322 def mark_error(self) -> None:
323 """Mark streaming as errored."""
324 self.end_time = time.time()
325 self.phase = StreamingPhase.ERROR
326
327
328class DisplayUpdate(BaseModel):

Callers 1

test_mark_errorMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_mark_errorMethod · 0.76