code: @Override
    public boolean service(RequestBaratine request)
    {
      request.status(HttpStatus.INTERNAL_SERVER_ERROR);
      request.header("content-type", "text/plain");
      
      if (_exn instanceof ConfigException) {
        request.write("ConfigException: " + _exn.getMessage());
      }
      else {
        request.write(_exn.toString());
        
        request.write("\n");
        
        for (StackTraceElement stack : _exn.getStackTrace()) {
          request.write("\n");
          request.write(String.valueOf(stack));
        }
      }
      
      return true;
    }
docs: Service a request.
  
  @param request the http request facade
  @param response the http response facade