Dancer::Plugin::MongoDB does...
register_hook(qw(mongodb_connected
mongodb_connection_lost
mongodb_connection_failed
mongodb_error));
but doesn't use these hooks:
execute_hook('database_connection_lost', $handle->{dbh});
execute_hook('database_connection_failed', $settings);
execute_hook('database_connected', $dbh);
The database_connect* hooks don't exist (are not registered). Maybe they're registered by the Dancer::Plugin::Database, but I don't use it (I'm using MongoDB - why should I load a DBI based module?).