NAME
Eidolon::Driver::Router::Exceptions - Eidolon router driver exceptions.
SYNOPSIS
In error handler of your application (lib/Example/Error.pm
) you could write:
if ($e eq "Error::Driver::Router::NotFound")
{
print "Page not found!";
}
else
{
$e->rethrow();
}
DESCRIPTION
The Eidolon::Driver::Router::Exceptions package creates router driver exceptions that are used by all router drivers.
EXCEPTIONS
Error::Driver::Router
Base router driver exception. All other router driver exceptions subclass it.
Error::Driver::Router::NotFound
Nothing was found during a query handler search.
Error::Driver::Router::Forbidden
Current user has no permissions to view this page. For example, the application (or the page) is private and user is not authorized.
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