The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

DESCRIPTION

ERROR CODES

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

  • 10: cannot_parse_config

  • 11: cannot_connect_db

100-199: alert - action must be taken immediately

  • (none currently)

200-299 crit - critical conditions

  • 201: cannot_open_template

  • 202: cannot_parse_template

  • 203: cannot_send_mail

  • 204: cannot_open_template_db

  • 205: cannot_find_login_fields

300-399 err - error conditions

  • 301: file_not_found

  • 302: cannot_log_object_creation

  • 303: task_is_forbidden

  • 304: task_no_default

  • 305: task_not_allowed_security

  • 306: cannot_retrieve_object_updates

  • 307: cannot_retrieve_object_of_id

  • 308: cannot_check_security_on_object

  • 309: cannot_retrieve_groups_for_user

  • 310: cannot_create_session

  • 311: cannot_retrieve_user_for_authentication

  • 312: cannot_run_module

  • 312: required_parameter_not_found

  • 313: cannot_open_static_file

400-499 warning - warning conditions

  • 401: bad_username

  • 402: bad_password

  • 403: cannot_retrieve_object_listing

  • 404: cannot_retrieve_object (non-security)

  • 405: cannot_remove_object (non-security)

  • 406: cannot_set_security

  • 407: cannot_save_object (non-security)

500-599: notice - normal but significant condition

  • (none currently)

600-699 info - informational

  • (none currently)

700-799 debug - debug-level messages

  • (none currently)

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

METHODS

Methods are all attached to various error codes.

TO DO

Nothing.

BUGS

None known.

COPYRIGHT

Copyright (c) 2001-2002 intes.net, inc.. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>