hook 'database_error' => sub { my $errstr = shift; my $dbh = shift; var errstr => $errstr; };