The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::MxScreen::Error - Error return codes for action callbacks

SYNOPSIS

 use CGI::MxScreen::Error;

 sub action {                # action callback
     ...
         return CGI_MX_ABORT;    # for instance
 }

DESCRIPTION

This module exports the return codes to use in action callbacks:

CGI_MX_OK

Signals everything went fine.

CGI_MX_ABORT

An error was detected, and the action callback chain should be immediately exited. No further callbacks will be invoked.

CGI_MX_ERROR

An error was detected, but further action callbacks may still execute. The error condition is remembered and will be raised at the end of the callback chain.

AUTHORS

The original authors are Raphael Manfredi <Raphael_Manfredi@pobox.com> and Christophe Dehaudt <Christophe.Dehaudt@teamlog.fr>.

Send bug reports, suggestions, problems or questions to Jason Purdy <Jason@Purdy.INFO>

SEE ALSO

CGI::MxScreen::Form::Button(3).