pub(crate) fn check_expect_one_of( ctx: &mut Ctx, label: &str, res: Result<usize, Error>, e1: Error, e2: Error, )
Implements check expect one of.