MCPcopy
hub / github.com/dry-python/returns / failure

Method failure

returns/maybe.py:441–443  ·  view source on GitHub ↗

Raises exception for successful container.

(self)

Source from the content-addressed store, hash-verified

439 return self._inner_value
440
441 def failure(self):
442 """Raises exception for successful container."""
443 raise UnwrapFailedError(self)
444
445 def __bool__(self):
446 """

Calls 1

UnwrapFailedErrorClass · 0.90