Fix #6618 : added Mode::addErrors()

Need `@since 2.0.2`.