query = $query; } /** * {@inheritDoc} */ public function __toString() { return sprintf('Database error %d "%s" at "%s"', $this->message, $this->code, $this->query); } }