Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
20
class
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
28
Result = Union[Ok[T], Err[E]]
Callers
3
TErr
Function · 0.90
do_transform
Method · 0.90
do_transform
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected