whole_func_string: function handleError(req, res, err) {
      switch (err.name) {
        case 'NotFoundError':
          render(req, res, 'error', err, {status: 404});
          break;
        default:
          render(req, res, 'error', err, {status: 500});
      }
    }
func_code_string: function handleError(req, res, err) {
      switch (err.name) {
        case 'NotFoundError':
          render(req, res, 'error', err, {status: 404});
          break;
        default:
          render(req, res, 'error', err, {status: 500});
      }
    }
func_documentation_string: Render an error page