MCPcopy
hub / github.com/psf/black / Err

Class Err

src/black/rusty.py:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20class Err(Generic[E]):
21 def __init__(self, e: E) -> None:
22 self._e = e
23
24 def err(self) -> E:
25 return self._e
26
27
28Result = Union[Ok[T], Err[E]]

Callers 3

TErrFunction · 0.90
do_transformMethod · 0.90
do_transformMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected