@ConditionalOnWebApplication(type=REACTIVE) @AutoConfigureAfter(value=ErrorsAutoConfiguration.class) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration.class) public class ReactiveErrorsAutoConfiguration extends Object
| Constructor and Description |
|---|
ReactiveErrorsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.web.reactive.error.ErrorAttributes |
errorAttributes(WebErrorHandlers webErrorHandlers,
HttpErrorAttributesAdapter httpErrorAttributesAdapter)
A custom web error attributes responsible for converting the exceptions to a map of
attributes.
|
@Bean @ConditionalOnBean(value=WebErrorHandlers.class) public org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes(WebErrorHandlers webErrorHandlers, HttpErrorAttributesAdapter httpErrorAttributesAdapter)
webErrorHandlers - Performing the actual exception handling.httpErrorAttributesAdapter - Adapter for error representation.Copyright © 2019. All rights reserved.