MCPcopy Index your code
hub / github.com/marimo-team/marimo / _cell_errored

Method _cell_errored

marimo/_code_mode/_context.py:915–918  ·  view source on GitHub ↗

Return True if the cell raised an exception.

(self, cell_id: CellId_t)

Source from the content-addressed store, hash-verified

913 sys.stdout.write(line + "\n")
914
915 def _cell_errored(self, cell_id: CellId_t) -> bool:
916 """Return True if the cell raised an exception."""
917 cell = self.graph.cells.get(cell_id)
918 return cell is not None and cell.exception is not None
919
920 def _cell_label(self, cell_id: CellId_t) -> str:
921 """Return a display label: `'id' (name)` or `'id'`."""

Callers 1

_print_summaryMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected