Constructor and Description |
---|
GenericError(String message) |
Modifier and Type | Method and Description |
---|---|
<T> T |
fold(Function<FunctionNotAvailable,? extends T> fnNotAvail,
Function<ModuleNotSupported,? extends T> modNotSupported,
Function<JsonParsingError,? extends T> jsonError,
Function<GenericError,? extends T> generic) |
String |
getMessage() |
int |
hashCode() |
String |
toString() |
public GenericError(String message)
public <T> T fold(Function<FunctionNotAvailable,? extends T> fnNotAvail, Function<ModuleNotSupported,? extends T> modNotSupported, Function<JsonParsingError,? extends T> jsonError, Function<GenericError,? extends T> generic)
public String getMessage()
Copyright © 2017. All rights reserved.