Fix #6618 : added Mode::addErrors()

I feel neutral.

@samdark @qiangxue, What's your opinion about this?