li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • data
  • source
  • database
  • adapter
  • Sqlite3
  • error()

Contents

  • ../

lithium\data\source\database\adapter\Sqlite3::error()

Implements lithium\data\source\Database::error()
public method

Retrieves database error message and error code.

Returns

array

Source

	public function error() {
		if ($error = $this->connection->errorInfo()) {
			return [$error[1], $error[2]];
		}
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

This will fit excellently
into my very evil plan.

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.