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


Apache-HeavyCGI documentation Contained in the Apache-HeavyCGI distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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.


Apache-HeavyCGI documentation Contained in the Apache-HeavyCGI distribution.

package Apache::HeavyCGI::Exception;
use strict;

sub new {
  my $class = shift;
  bless { @_ }, $class;
}

1;