NAME
Eidolon::Driver::Log::Exceptions - Eidolon log driver exceptions.
SYNOPSIS
In error handler of your application (lib/Example/Error.pm
) you could write:
if ($e eq "Error::Driver::Log::Open")
{
print "Cannot open log file!";
}
else
{
$e->rethrow();
}
DESCRIPTION
The Eidolon::Driver::Log::Exceptions package creates log driver exceptions that are used by all log drivers.
EXCEPTIONS
Error::Driver::Log
Base log driver exception. All other log driver exceptions subclass it.
Error::Driver::Log::Directory
Error opening log directory. Thrown when log directory doesn't exist.
Error::Driver::Log::Open
Error opening log file. Thrown when driver cannot open log file for writing.
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