Class BasicErrorController

java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
All Implemented Interfaces:
ErrorController

@Controller @RequestMapping("${server.error.path:${error.path:/error}}") public class BasicErrorController extends AbstractErrorController
Basic global error @Controller, rendering ErrorAttributes. More specific errors can be handled either using Spring MVC abstractions (e.g. @ExceptionHandler) or by adding servlet server error pages.
Since:
1.0.0
Author:
Dave Syer, Phillip Webb, Michael Stummvoll, Stephane Nicoll, Scott Frederick, Moritz Halbritter
See Also: