CGI::Session::ErrorHandler(3pm) | User Contributed Perl Documentation | CGI::Session::ErrorHandler(3pm) |
CGI::Session::ErrorHandler - error handling routines for CGI::Session
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"); } }
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
For support and licensing information see CGI::Session.
2022-06-10 | perl v5.34.0 |