| Eidolon documentation | Contained in the Eidolon distribution. |
Eidolon::Driver::Exceptions - Eidolon driver exceptions.
In error handler of your application (lib/Example/Error.pm) you could write:
if ($e eq "DriverError")
{
print "Driver error occured!";
}
else
{
$e->rethrow();
}
The Eidolon::Driver::Exceptions package creates driver exceptions that are used by all types of drivers.
Base driver exception. All other driver exceptions subclass it.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Anton Belousov, <abel@cpan.org>
Copyright (c) 2009, Atma 7, http://www.atma7.com
| Eidolon documentation | Contained in the Eidolon distribution. |
package Eidolon::Driver::Exceptions; # ============================================================================== # # Eidolon # Copyright (c) 2009, Atma 7 # --- # Eidolon/Driver/Exceptions.pm - driver exceptions # # ============================================================================== use warnings; use strict; our $VERSION = "0.02"; # 2009-05-14 05:20:08 use Eidolon::Core::Exception::Builder ( "DriverError" => { "title" => "Driver error" }, ); 1; __END__