outcome
Toggle table of contents
0.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
outcome
outcome
/
nz.adjmunro.outcome.raise
/
RaiseScope
/
Companion
/
fold
fold
inline
fun
<
In
,
Out
,
Error
:
Any
>
RaiseScope
<
Error
>
.
fold
(
block
:
(
scope
:
RaiseScope
<
Error
>
)
->
In
,
catch
:
(
throwable
:
Throwable
)
->
Out
=
::rethrow
,
recover
:
(
error
:
Error
)
->
Out
,
transform
:
(
value
:
In
)
->
Out
)
:
Out