MCPcopy
hub / github.com/GitGuardian/ggshield / display_error

Method display_error

ggshield/core/ui/ggshield_ui.py:84–86  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

82 self._echo(Level.WARNING, message)
83
84 def display_error(self, message: str) -> None:
85 if self.level >= Level.ERROR:
86 self._echo(Level.ERROR, message)
87
88 @abstractmethod
89 def log(self, record: LogRecord) -> None:

Callers 15

handle_exceptionFunction · 0.80
_find_dot_envFunction · 0.80
get_prereceive_timeoutFunction · 0.80
display_errorFunction · 0.80
logMethod · 0.80
_install_from_urlFunction · 0.80
enable_cmdFunction · 0.80

Calls 1

_echoMethod · 0.95

Tested by 1

test_scan_cmdFunction · 0.64