Some improvements were done to the main Craft exceptions.