Fix #6618 : added Model::addErrors()