Package io.sentry.spring.webflux
Class SentryWebExceptionHandler
- java.lang.Object
-
- io.sentry.spring.webflux.SentryWebExceptionHandler
-
- All Implemented Interfaces:
org.springframework.web.server.WebExceptionHandler
@Order(-2) @Experimental public final class SentryWebExceptionHandler extends java.lang.Object implements org.springframework.web.server.WebExceptionHandler
Handles unhandled exceptions in Spring WebFlux integration.
-
-
Constructor Summary
Constructors Constructor Description SentryWebExceptionHandler(@NotNull io.sentry.IHub hub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull reactor.core.publisher.Mono<java.lang.Void>
handle(@NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull java.lang.Throwable ex)
-
-
-
Method Detail
-
handle
@NotNull public @NotNull reactor.core.publisher.Mono<java.lang.Void> handle(@NotNull @NotNull org.springframework.web.server.ServerWebExchange serverWebExchange, @NotNull @NotNull java.lang.Throwable ex)
- Specified by:
handle
in interfaceorg.springframework.web.server.WebExceptionHandler
-
-