lithium\data\source\database\adapter\MySql::error PHP Méthode

error() public méthode

Retrieves database error message and error code.
public error ( ) : array
Résultat array
    public function error()
    {
        if ($error = $this->connection->errorInfo()) {
            return array($error[1], $error[2]);
        }
    }