Use error instead of err.