Help for this page
$dhb = DBI->connect($dbi, $user, $pass, { RaiseError => 1 });
$dbh->{RaiseError} = 1;