Skip Menu |
 

This queue is for tickets about the DBIx-Error CPAN distribution.

Report information
The Basics
Id: 120327
Status: new
Priority: 0/
Queue: DBIx-Error

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0.1
Fixed in: (no value)



Subject: Don't require err and errstr
Download (untitled) / with headers
text/plain 534b
There seem to be cases where err and errstr can be null: Throwable::Error::new('DBIx::Error', 'message', 'DBI connect(\'FOO\',\'BAR\',...) failed: ORA-00604: error occurred at recursive SQL level 1^JORA-16456: switchover to standby in progress or completed (DBD ERROR: OCISessionBegin)', 'err', undef, 'errstr', undef, 'state', '') called at /home/ahartmai/perl5/perlbrew/perls/24.1/lib/site_perl/5.24.1/DBIx/Error.pm line 274 Having an error handler throwing an error itself is bad, so I propose to not require those two attributes.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.