Interface ErrorController

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ErrorController
    Marker interface used to indicate that a @Controller is used to render errors. Primarily used to know the error paths that will not need to be secured.
    Since:
    2.0.0
    • Method Detail

      • getErrorPath

        String getErrorPath()
        Returns the path of the error page.
        Returns:
        the error path