Doctrine\DBAL\Statement::errorInfo PHP Method

errorInfo() public method

Fetches extended error information associated with the last operation on the statement.
public errorInfo ( ) : array
return array
    public function errorInfo()
    {
        return $this->stmt->errorInfo();
    }

Usage Example

 /**
  * @return mixed
  */
 function errorInfo()
 {
     return $this->stmt->errorInfo();
 }