Make error message more generic