// @codeCoverageIgnoreStart
CLI::
error('Database creation failed.', 'light_gray', 'red'
);
CLI::
newLine();
return;
// @codeCoverageIgnoreEnd
} CLI::
write("Database \"{
$name}\" successfully created.", 'green'
);
CLI::
newLine();
} catch (Throwable
$e) { $this->
showError($e);
} finally { Factories::
reset('config'
);
Database::
connect(null, false
);
} }}