OpenInteract::Error::System - Catalog of system error handlers


OpenInteract documentation  | view source Contained in the OpenInteract distribution.

Index


NAME

Top

OpenInteract::Error::System - Catalog of system error handlers

SYNOPSIS

Top

 $R->throw( { code => 302, type => 'module' } );

DESCRIPTION

Top

ERROR CODES

Top

Following is a (hopefully) exhaustive list of errors generated by the base OpenInteract modules. Note that the base OpenInteract modules should not generate errors with codes greater than 25 in their range (e.g., greater than than 425 in the 400 - 499 range).

This means that you as an application developer are free to create your own error handlers to respond to errors in the x25 - x99 range. This also means that you should never create an error handler that responds to an error less than 25 in a range unless you are explicitly overriding a system error handler. Otherwise there will eventually be a conflict, which would be bad.

0-100: emerg - system is unusable

100-199: alert - action must be taken immediately

200-299 crit - critical conditions

300-399 err - error conditions

400-499 warning - warning conditions

500-599: notice - normal but significant condition

600-699 info - informational

700-799 debug - debug-level messages

800-999 user-defined - whatever you wish them to be; no base OpenInteract modules will generate errors in this range

METHODS

Top

Methods are all attached to various error codes.

TO DO

Top

Nothing.

BUGS

Top

None known.

COPYRIGHT

Top

AUTHORS

Top

Chris Winters <chris@cwinters.com>


OpenInteract documentation  | view source Contained in the OpenInteract distribution.