Catches if there's an attribute error. Useful when we try and get an attribute when the object doesn't even have it.