public function rollback($code, $message)
{
$this->console->error("{$code}: {$message}");
if ($this->db) {
$this->console->error("Changes will be rolled back!");
$this->db->Execute("ROLLBACK;");
$this->console->error("Changes rolled back!");
}
return false;
}