displays a message when a failure happen while creating a new category