MCPcopy
hub / github.com/freedomofpress/dangerzone / handle_error

Method handle_error

dangerzone/gui/startup.py:46–48  ·  view source on GitHub ↗
(self, e: Exception)

Source from the content-addressed store, hash-verified

44 super().handle_start() # type: ignore [misc]
45
46 def handle_error(self, e: Exception) -> None:
47 self.failed.emit(str(e))
48 super().handle_error(e) # type: ignore [misc]
49
50 def handle_success(self) -> None:
51 self.succeeded.emit()

Callers 1

handle_errorMethod · 0.45

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected