Change the cookbook to modify the errors