Add `wrap` and add support for excusing assert count expected errors.