TWiki
>
TWiki Web
>
CGISessionErrorHandlerDotPm
(2008-01-22,
TWikiContributor
)
(raw view)
E
dit
A
ttach
---+ Package == %TOC% =head1 NAME CGI::Session::ErrorHandler - error handling routines for CGI::Session =head1 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"); } } =head1 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 =head2 METHODS =over 4 =item set_error($message) Implicitly defines $pkg_name::errstr and sets its value to $message. Return value is B<always> undef.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2008-01-22
-
TWikiContributor
TWiki
Log In
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
IVOA
PDL1RFC
PhotDM1
Spectral2
SpectralDM2
Know
Main
Sandbox
TWiki
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.CGISessionErrorHandlerDotPm
.