Subject: | Don't require err and errstr |
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.