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
Raphael Manfredi <Raphael_Manfredi@pobox.com> and Christophe Dehaudt <Christophe.Dehaudt@teamlog.fr>.
SEE ALSO
CGI::MxScreen::Form::Button(3).