Changed error to err to prevent compile issues