In what case does the AttributeError occur?