MCPcopy Index your code
hub / github.com/dry-python/returns / failure

Method failure

returns/result.py:465–467  ·  view source on GitHub ↗

Raises an exception for successful container.

(self)

Source from the content-addressed store, hash-verified

463 return self._inner_value
464
465 def failure(self) -> Never:
466 """Raises an exception for successful container."""
467 raise UnwrapFailedError(self)
468
469
470# Aliases:

Callers

nothing calls this directly

Calls 1

UnwrapFailedErrorClass · 0.90

Tested by

no test coverage detected