spring-framework / org.springframework.web.server / WebExceptionHandler / handle

handle

abstract fun handle(exchange: ServerWebExchange, ex: Throwable): Mono<Void>

Handle the given exception. A completion signal through the return value indicates error handling is complete while an error signal indicates the exception is still not handled.

Parameters

exchange - the current exchange

ex - the exception to handle

Return
Mono<Void> to indicate when exception handling is complete