Fix #6618 : added Mode::addErrors()

Replace `{@link getErrors}` with `[[getErrors()]]`.