show a flash error message when the plan is unable to be generated.