Drupal Error Code Handling Module

For those of you working with extremely large projects, websites, modules, etc you may want a unified mechanism for triggering, viewing, and describing errors. That is where the 'error code' module comes in. This simple and light module currently provides the following functionality:

Error Code Module Features

  • Invokes hook_error() allowing modules to describe error codes.
  • Simple invocation of err() to issue an error, or throwing a DrupalException()
  • Supports watchdog severity and logging functionality.
  • Optionally output messages to users.
  • View and filter on master list of error codes.

Error Code Screenshots

error code module

Error Code Project Page

Click to view the Drupal Project Page