MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / put_error

Function put_error

pywebio/output.py:451–456  ·  view source on GitHub ↗

Output error message. .. seealso:: `put_info()`

(*contents: Any, closable: bool = False, scope: str = None,
              position: int = OutputPosition.BOTTOM)

Source from the content-addressed store, hash-verified

449
450
451def put_error(*contents: Any, closable: bool = False, scope: str = None,
452 position: int = OutputPosition.BOTTOM) -> Output:
453 """Output error message.
454 .. seealso:: `put_info()`
455 """
456 return _put_message(color='danger', contents=contents, closable=closable, scope=scope, position=position)
457
458
459# Due to the IPython rich output compatibility,

Callers 3

mainFunction · 0.85
output_widgetsFunction · 0.85
on_task_exceptionMethod · 0.85

Calls 1

_put_messageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…