WebFluxRequestExceptionHandler

class WebFluxRequestExceptionHandler(errorStrategy: WebFluxErrorStrategy = DefaultWebFluxErrorStrategy) : RequestExceptionHandler

Constructors

Link copied to clipboard
constructor(errorStrategy: WebFluxErrorStrategy = DefaultWebFluxErrorStrategy)

Functions

Link copied to clipboard
fun ServerRequest.formatRequest(): String
Link copied to clipboard
open override fun handle(request: ServerRequest, throwable: Throwable): Mono<ServerResponse>

The error response of a request that failed before its response started.

Link copied to clipboard
open override fun handleInBody(request: ServerRequest, throwable: Throwable): ErrorInfo

Maps throwable with the error strategy and logs it as handle logs the response it would have rendered.