I though `raise_error(IndexError)` matches `KeyError` as `raise_error(NameError)` with `NoMethodError`.