reactor-core / reactor.core.publisher / kotlin.Throwable

Extensions for kotlin.Throwable

toFlux

fun <T> Throwable.toFlux(): Flux<T>

Extension for transforming an exception to a Flux that completes with the specified error.

toMono

fun <T> Throwable.toMono(): Mono<T>

Extension for transforming an exception to a Mono that completes with the specified error.