core/classes/DataModel.class.php
public function getError($key){

        if(!isset($this->errors[$key])){
            return false;
        }//if

        return $this->errors[$key];

    }
public function getError($key){

        if(!isset($this->errors[$key])){
            return false;
        }//if

        return $this->errors[$key];

    }
public function getError ( $ key ) { if ( ! isset ( $ this -> errors [ $ key ] ) ) { return false ; } //if return $ this -> errors [ $ key ] ; }
Get an error.

@param string $key The data key.

@return boolean|string False if no error for `$key`, otherwise the error string.
Get an error .