Documentation
Dlang.org
mapError.mapError
expected
mapError
The actual
mapError
function.
template
mapError
(alias op, Hook = Abort)
@
safe
auto
mapError
(
T
E
H
)
(
auto
ref
Expected
!(
T
,
E
,
H
)
self
)
if
(
is
(
typeof
(
op
(
self.error
)))
)
Parameters
self
Type:
Expected
!(
T
,
E
,
H
)
an
Expected
object
Meta
Source
See Implementation
expected
mapError
functions
mapError
The actual mapError function.