Anton Belousov > Eidolon > Eidolon::Core::Exceptions

Download:
Eidolon-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Eidolon::Core::Exceptions - Eidolon core exception list.

SYNOPSIS ^

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";
    }

DESCRIPTION ^

The Eidolon::Core::Exceptions package creates core exceptions that are used by various core packages.

EXCEPTIONS ^

_Error

Base Eidolon exception. All other exceptions subclass it.

CoreError

Base core exception. All other core exceptions subclass it.

CoreError::Compile

Compilation error. Thrown when driver or controller raised perl compile error during require or use.

CoreError::AbstractMethod

Abstract method error. Thrown when abstract method is called.

CoreError::NoRouter

No router defined. Raised when application has no router driver defined in the application configuration file.

CoreError::NoErrorHandler

No error handler defined. Raised when there is no error handler defined in the application configuration.

CoreError::Loader

Driver loader exceptions. All other driver loader exceptions subclass it.

CoreError::Loader::InvalidDriver

Thrown when driver being loaded isn't subclassed from Eidolon::Driver class.

CoreError::Loader::AlreadyLoaded

Thrown when driver of the given type is already loaded.

CoreError::CGI

CGI error. All other CGI errors subclass this exception.

CoreError::CGI::MaxPost

POST request size limit exceeded.

CoreError::CGI::InvalidPOST

Malformed POST request.

CoreError::CGI::FileSave

Error saving uploaded file (during multipart/form-data form submission).

SEE ALSO ^

Eidolon

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

syntax highlighting: