ErrorAttributes

interface ErrorAttributes

Provides access to error attributes which can be logged or presented to the user.

Author

Brian Clozel

Scott Frederick

Since

2.0.0

See also

Inheritors

Functions

Link copied to clipboard
abstract fun getError(request: ServerRequest): Throwable
Return the underlying cause of the error or null if the error cannot be extracted.
Link copied to clipboard
Return a Map of the error attributes.
Link copied to clipboard
abstract fun storeErrorInformation(error: Throwable, exchange: ServerWebExchange)
Store the given error information in the current ServerWebExchange.