code: public static ErrorPage errorPage(String location, Class<? extends Throwable> exceptionType) {
          return new ErrorPage(location, exceptionType);
      }
docs: Create an ErrorPage instance for a given exception type
  @param location      The location to redirect to
  @param exceptionType The exception type
  @return              The error page definition