Now that this was moved maybe it should be replaced with the more specific assertCompatError ...