docs: public static Object getFor(int status, Request request, Response response) {
  
          Object customRenderer = CustomErrorPages.getInstance().customPages.get(status);
          Object customPage = CustomErrorPages.getInstance().getDefaultFor(status);
  
          if (customRenderer instanceof String) {
              customPage = customRenderer;
          } else if (customRenderer instanceof Route) {
              try {
                  customPage = ((Route) customRenderer).handle(request, response);
              } catch (Exception e) {
               // The custom page renderer is causing an internal server error.  Log exception as a warning and use default page instead
                  LOG.warn("Custom error page handler for status code {} has thrown an exception: {}. Using default page instead.", status, e.getMessage());
              }
          }
  
          return customPage;
      }