The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Eidolon::Driver::DB::Exceptions - Eidolon database driver exceptions.

SYNOPSIS

In error handler of your application (lib/Example/Error.pm) you could write:

    if ($e eq "DriverError::DB::SQL")
    {
        print "You have an error in your SQL syntax!";
    }
    else
    {
        $e->rethrow();
    }

DESCRIPTION

The Eidolon::Driver::DB::Exceptions package creates database driver exceptions that are used by all database drivers.

EXCEPTIONS

Error::Driver::DB

Base database driver exception. All other database driver exceptions subclass it.

Error::Driver::DB::Connect

Database connection error. Thrown when driver cannot connect or login to database engine.

Error::Driver::DB::SQL

Database SQL execution error. Thrown in case of invalid SQL command.

SEE ALSO

Eidolon, Eidolon::Driver::Exceptions, Eidolon::Core::Exception, Eidolon::Core::Exception::Builder

LICENSE

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

AUTHOR

Anton Belousov, <abel@cpan.org>

COPYRIGHT

Copyright (c) 2009, Atma 7, http://www.atma7.com