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::Exceptions - Helix Framework core exception list.

SYNOPSIS

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

    if ($e eq "HXError::Core::AbstractMethod")
    {
        print "Abstract method called";
    }
    elsif ($e eq "HXError::Core::CGI::InvalidPOST")
    {
        print "Malformed POST request";
    }

DESCRIPTION

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

EXCEPTIONS

HXError

Base Helix Framework exception. All other exceptions subclass it.

HXError::Core

Base core exception. All other core exceptions subclass it.

HXError::Core::Compile

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

HXError::Core::AbstractMethod

Abstract method error. Thrown when abstract method is called.

HXError::Core::NoRouter

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

HXError::Core::NoErrorHandler

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

HXError::Core::Loader

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

HXError::Core::Loader::InvalidDriver

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

HXError::Core::Loader::AlreadyLoaded

Thrown when driver of the given type is already loaded.

HXError::Core::CGI

CGI error. All other CGI errors subclass this exception.

HXError::Core::CGI::MaxPost

POST request size limit exceeded.

HXError::Core::CGI::InvalidPOST

Malformed POST request.

HXError::Core::CGI::FileSave

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

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