Eidolon::Driver::Log::Exceptions - Eidolon log driver exceptions.
In error handler of your application (lib/Example/Error.pm) you could write:
lib/Example/Error.pm
if ($e eq "Error::Driver::Log::Open") { print "Cannot open log file!"; } else { $e->rethrow(); }
The Eidolon::Driver::Log::Exceptions package creates log driver exceptions that are used by all log drivers.
Base log driver exception. All other log driver exceptions subclass it.
Error opening log directory. Thrown when log directory doesn't exist.
Error opening log file. Thrown when driver cannot open log file for writing.
Eidolon, Eidolon::Driver::Exceptions, Eidolon::Core::Exception, Eidolon::Core::Exception::Builder
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
To install Eidolon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Eidolon
CPAN shell
perl -MCPAN -e shell install Eidolon
For more information on module installation, please visit the detailed CPAN module installation guide.