getErrorAttributes

Returns a Map of the error attributes. The map can be used as the model of an error page ModelAndView, or returned as a @ResponseBody.

Return

a map of error attributes

Since

2.3.0

Parameters

webRequest

the source request

options

options for error attribute contents