this is original Model.php function
public function addError($attribute, $error = '')
{
    $this->_errors[$attribute][] = $error;
}
in my model property i want override this method in this way
public function addError($attribute, $error = '')
{
    if ($attribute == 'status'){
        $this->_errors[$attribute] = $error;
    }
    else{
        $this->_errors[$attribute][] = $error;
    }
}
I can't access at $this->_errors ... I have no idea how i can override this funcion without modify main model.php
 
                        
found solution! In personal model class add this
and in my validate function
without use addError function