so, to confirm: we will pass the res object back as the error if res.errmsg exists?