NAME

Apache::HeavyCGI::Exception - exception class for Apache::HeavyCGI

SYNOPSIS

die Apache::HeavyCGI::Exception->new(HTTP_STATUS => status);
die Apache::HeavyCGI::Exception->new(ERROR => [error, ...]);

DESCRIPTION

The execution of the Apache::HeavyCGI::prepare method is protected by an eval. Within that block the above mentioned exceptions can be thrown. For a discussion of the semantics of these errors, see Apache::HeavyCGI.

You need not require the Apache::HeavyCGI::Error module, it is already required by Apache::HeavyCGI.