@CompileStatic class JsonErrorsViews extends ErrorsViews
The errors views of JSON views, only loaded where JSON views is present.
JSON views renders the errors of a controller with its own _errors view where it has
one, and otherwise with the view for Errors, falling back to the view for any object.
It renders only JSON; the converters render the errors in any other format.
| Properties inherited from class | Properties |
|---|---|
class ErrorsViews |
NONE |
| Constructor and description |
|---|
JsonErrorsViews(java.util.Collection<JsonViewResolver> resolvers) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
hasOwnView(GrailsControllerClass controller) |
|
static ErrorsViews |
of(ApplicationContext context) |
|
ErrorsRendering |
rendering() |
| Methods inherited from class | Name |
|---|---|
class ErrorsViews |
hasOwnView, of, rendering |