The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Error::Hierarchy::Internal::DBI - DBI-related exception

SYNOPSIS

  my $dbh = DBI->connect($connect_string, $dbuser, $dbpass,
    { HandleError => Error::Hierarchy::Internal::DBI->handler });

DESCRIPTION

This class is the main part of the DBI-related exceptions. If you set it as the error handler in a DBI-connect()> call, it will turn the simple string errors thrown by DBI (and the database) into more meaningful exceptions.

PROPERTIES

This exception class inherits all properties of Error::Hierarchy::Internal::CustomMessage.

It has the following additional properties.

error
err
errstr
state
retval

TAGS

If you talk about this module in blogs, on del.icio.us or anywhere else, please use the errorhierarchy tag.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-error-hierarchy@rt.cpan.org, or through the web interface at http://rt.cpan.org.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

AVAILABILITY

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.

AUTHOR

Marcel Grünauer, <marcel@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007 by Marcel Grünauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.