MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _error_toast

Method _error_toast

tensorflow/python/debug/cli/curses_ui.py:1634–1642  ·  view source on GitHub ↗

Display a one-line error message on screen. Args: message: The error message, without the preceding "ERROR: " substring.

(self, message)

Source from the content-addressed store, hash-verified

1632 right_end)
1633
1634 def _error_toast(self, message):
1635 """Display a one-line error message on screen.
1636
1637 Args:
1638 message: The error message, without the preceding "ERROR: " substring.
1639 """
1640
1641 self._toast(
1642 self.ERROR_MESSAGE_PREFIX + message, color=self._ERROR_TOAST_COLOR_PAIR)
1643
1644 def _info_toast(self, message):
1645 """Display a one-line informational message on screen.

Callers 3

_dispatch_commandMethod · 0.95
_display_outputMethod · 0.95

Calls 1

_toastMethod · 0.95

Tested by

no test coverage detected