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

toMono

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

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

Author
Sebastien Deleuze

Since
3.1