in reply to set_err not dying with RaiseError on

What DBI version? Does PrintError work? Try $h->DBI::set_err?