code: void configureServerError(Reflections reflections) {
  
          log.info("Checking for an error endpoint..");
          ServerError serverError = getEndpoint(ServerError.class, "error", reflections);
          if (serverError == null) serverError = new DefaultServerError();
          printEndpoint(serverError, "error");
          this.serverError = serverError;
      }
docs: Searches for and configures the not error endpoint.
  
  @param reflections The instance to use to find classes.