kactoos-jvm / nnl.rocks.kactoos.scalar / FallbackFrom / <init>
FallbackFrom(exp:
Class
<out
Throwable
>, func:
KFunc
<
Throwable
,
T
>)
FallbackFrom(exceptions:
Iterable
<
Class
<out
Throwable
>>, func:
KFunc
<
Throwable
,
T
>)
Fallback from exception.
There is no thread-safety guarantee.
T
- Type of result
exceptions
- The list of exceptions supported by this instance.
func
- Function that converts exceptions to the required type.
Since 0.4