`self.err.warning` might be the default for `compat_type="error"`, but it would be good to test that that's the case.