The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Helix::Core::Exception::List - Helix Framework core exceptions.

SYNOPSIS

In error handler of your application (lib/Example/Controller/_Error.pm) you could write:

    if ($e == Error::Core::Router::NotFound)
    {
        print "Page not found";
    }
    elsif ($e == Error::Core::Router::Forbidden)
    {
        print "Achtung! Russisch partizanen!";
    }

DESCRIPTION

The Helix::Core::Exception::List package creates core exceptions that are used by various core packages.

EXCEPTIONS

Error

Base Helix Framework exception. All other exceptions subclass it.

Error::Core

Base core exception. All other core exceptions subclass it.

Error::Core::Compile

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

Error::Core::AbstractMethod

Abstract method error. Thrown when abstract method called.

Error::Core::DoubleFault

Double fault error. Raised when exception was thrown during another exception handling.

Error::Core::Driver

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

Error::Core::Driver::NoType

Thrown when driver being loaded has no driver type specification.

Error::Core::Driver::AlreadyLoaded

Thrown when driver of the given type is already loaded.

Error::Core::Driver::AlreadyMounted

Thrown when driver's mount point is already occupied by another driver.

Error::Core::CGI

CGI errors. All other CGI errors subclass this exception.

Error::Core::CGI::MaxPost

POST request size limit exceeded.

Error::Core::CGI::InvalidPOST

Malformed POST request.

Error::Core::CGI::FileSave

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

Error::Core::Router

Request routing error. All other routing exceptions subclass it.

Error::Core::Router::NotFound

Hanlder (page) was not found.

Error::Core::Router::Forbidden

Authorization required to view this page.

SEE ALSO

Helix

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