pass (err, res) when possible