| Eidolon documentation | Contained in the Eidolon distribution. |
Eidolon::Driver::User::Exceptions - Eidolon user driver exceptions.
In error handler of your application (lib/Example/Error.pm) you
could write:
if ($e eq "Error::Driver::User")
{
print "User driver failed!";
}
else
{
$e->rethrow();
}
The Eidolon::Driver::User::Exceptions package creates user driver exceptions that are used by all user drivers.
Base user driver exception. All other user 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::User::Exceptions; # ============================================================================== # # Eidolon # Copyright (c) 2009, Atma 7 # --- # Eidolon/Driver/User/Exceptions.pm - user driver exceptions # # ============================================================================== use warnings; use strict; our $VERSION = "0.02"; # 2009-05-14 05:46:01 use Eidolon::Core::Exception::Builder ( "DriverError::User" => { "isa" => "DriverError", "title" => "User driver exceptions" } ); 1; __END__