lithium\data\source\database\adapter\Sqlite3::error PHP Method

error() public method

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