Class GenericErrorController
- java.lang.Object
-
- com.netflix.spinnaker.kork.web.controllers.GenericErrorController
-
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorController
@RestController public class GenericErrorController extends java.lang.Object implements org.springframework.boot.web.servlet.error.ErrorController
-
-
Constructor Summary
Constructors Constructor Description GenericErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Maperror(java.lang.Boolean includeStackTrace, org.springframework.web.context.request.WebRequest webRequest)java.lang.StringgetErrorPath()
-
-
-
Method Detail
-
error
@RequestMapping("/error") public java.util.Map error(@RequestParam(value="trace",defaultValue="false") java.lang.Boolean includeStackTrace, org.springframework.web.context.request.WebRequest webRequest)
-
getErrorPath
public java.lang.String getErrorPath()
- Specified by:
getErrorPathin interfaceorg.springframework.boot.web.servlet.error.ErrorController
-
-