Package org.derive4j.processor.api
Class DeriveResults.Error<A>
- java.lang.Object
-
- org.derive4j.processor.api.DeriveResult<A>
-
- org.derive4j.processor.api.DeriveResults.Error<A>
-
- Enclosing class:
- DeriveResults
private static final class DeriveResults.Error<A> extends DeriveResult<A>
-
-
Field Summary
Fields Modifier and Type Field Description private DeriveMessage
error
-
Constructor Summary
Constructors Constructor Description Error(DeriveMessage error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
match(java.util.function.Function<DeriveMessage,R> error, java.util.function.Function<A,R> result)
-
Methods inherited from class org.derive4j.processor.api.DeriveResult
bind, error, map, result
-
-
-
-
Field Detail
-
error
private final DeriveMessage error
-
-
Constructor Detail
-
Error
Error(DeriveMessage error)
-
-
Method Detail
-
match
public <R> R match(java.util.function.Function<DeriveMessage,R> error, java.util.function.Function<A,R> result)
- Specified by:
match
in classDeriveResult<A>
-
-