Class DefaultErrorAttributes

java.lang.Object
org.springframework.boot.web.reactive.error.DefaultErrorAttributes
All Implemented Interfaces:
ErrorAttributes

public class DefaultErrorAttributes extends Object implements ErrorAttributes
Default implementation of ErrorAttributes. Provides the following attributes when possible:
  • timestamp - The time that the errors were extracted
  • status - The status code
  • error - The error reason
  • exception - The class name of the root exception (if configured)
  • message - The exception message (if configured)
  • errors - Any ObjectErrors from a BindingResult exception (if configured)
  • trace - The exception stack trace (if configured)
  • path - The URL path when the exception was raised
  • requestId - Unique ID associated with the current request
Since:
2.0.0
Author:
Brian Clozel, Stephane Nicoll, Michele Mancioppi, Scott Frederick
See Also: