docs: protected final void error(final HttpServletResponse httpServletResponse, final Throwable e) {
          httpServletResponse.setContentType("text/plain");
          httpServletResponse.setStatus(HttpStatus.INTERNAL_SERVER_ERROR.value());
          try (PrintWriter out = httpServletResponse.getWriter()) {
              out.println("Error while processing request:");
              LOGGER.error("Error while processing request", e);
          } catch (IOException ex) {
              throw ExceptionUtils.getRuntimeException(ex);
          }
      }