lithium\data\source\database\adapter\Sqlite3::error PHP 메소드

error() 공개 메소드

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