Learning Wisdom from Errors: Promoting LLM's Continual Relation Learning through Exploiting Error Cases