man > CGI::Session::ErrorHandler(3pm)

🏷️ CGI::Session::ErrorHandler(3pm) — User Contributed Perl Documentation

📛 NAME

CGI::Session::ErrorHandler — error handling routines for CGI::Session

🚀 Quick Reference

Use CaseCommandDescription
Set an error message$self->set_error("message")Sets error message and returns undef.
Get the error message$self->errstr()Returns the last error message or empty string.

📖 SYNOPSIS

require CGI::Session::ErrorHandler;
@ISA = qw( CGI::Session::ErrorHandler );

sub some_method {
    my $self = shift;
    unless (  $some_condition ) {
        return $self->set_error("some_method(): \$some_condition isn't met");
    }
}

📝 DESCRIPTION

CGI::Session::ErrorHandler provides set_error() and errstr() methods for setting and accessing error messages from within CGI::Session's components. This method should be used by driver developers for providing CGI::Session-standard error handling routines for their code.

🔧 METHODS

📜 LICENSING

For support and licensing information see CGI::Session.

CGI::Session::ErrorHandler(3pm)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION
🔧 METHODS
📜 LICENSING

Generated by phpman v4.9.25-25-g40dbf62 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-16 13:51 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format