src/DataBaseAR.php
protected function catchError($error){
        if($this->connection->inTransaction()){
            $this->errorTran[]= $error;
            $this->stateTran= FALSE;
        }
        $this->lastError= $error;    
        
    }
protected function catchError($error){
        if($this->connection->inTransaction()){
            $this->errorTran[]= $error;
            $this->stateTran= FALSE;
        }
        $this->lastError= $error;    
        
    }
protected function catchError ( $ error ) { if ( $ this -> connection -> inTransaction ( ) ) { $ this -> errorTran [ ] = $ error ; $ this -> stateTran = FALSE ; } $ this -> lastError = $ error ; }
Almacena los errores
@param string $error
Almacena los errores