Subject: | Would appreciate explicit support for the HandleError attribute |
The use case is Exception::Class::DBI. The following seems to work as a
workaround hence it is only wishlist:
package My::DB;
use base Rose::DB;
use Exception::Class::DBI;
__PACKAGE__->use_private_registry;
__PACKAGE__->register_db(
...............,
print_error=>0,
raise_error=>0,
);
__PACKAGE__->registry->entry(domain=>'default',type=>'default')->connect_option(HandleError=>Exception::Class::DBI->handler);