| Eidolon documentation | view source | Contained in the Eidolon distribution. |
Eidolon::Core::Exceptions - Eidolon core exception list.
In error handler of your application (lib/Example/Error.pm) you
could write:
if ($e eq "CoreError::AbstractMethod")
{
print "Abstract method called";
}
elsif ($e eq "CoreError::CGI::InvalidPOST")
{
print "Malformed POST request";
}
The Eidolon::Core::Exceptions package creates core exceptions that are used by various core packages.
Base Eidolon exception. All other exceptions subclass it.
Base core exception. All other core exceptions subclass it.
Compilation error. Thrown when driver or controller raised perl compile error during require or use.
Abstract method error. Thrown when abstract method is called.
No router defined. Raised when application has no router driver defined in the application configuration file.
No error handler defined. Raised when there is no error handler defined in the application configuration.
Driver loader exceptions. All other driver loader exceptions subclass it.
Thrown when driver being loaded isn't subclassed from Eidolon::Driver class.
Thrown when driver of the given type is already loaded.
CGI error. All other CGI errors subclass this exception.
POST request size limit exceeded.
Malformed POST request.
Error saving uploaded file (during multipart/form-data form submission).
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 | view source | Contained in the Eidolon distribution. |