@wopjs/tsur - v0.1.7
Preparing search index...
index
Err
Variable Err
Const
Err
:
<
E
,
T
=
any
>
(
error
:
E
)
=>
Result
<
T
,
E
>
= ...
Type declaration
<
E
,
T
=
any
>
(
error
:
E
)
:
Result
<
T
,
E
>
Type Parameters
E
T
=
any
Parameters
error
:
E
An error of type
E
Returns
Result
<
T
,
E
>
Wrap an error into an
Result
.
Param: error
An error of type
E
Returns
Wrap an error into an
Result
.
Settings
Theme
OS
Light
Dark
@wopjs/tsur - v0.1.7
Loading...
An error of type
E