Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

This simple module simply provides a way to quickly create a variety of Drupal and PHP error types. It eventually needs to be turned into a mock module for core tests.

It can demonstrate:

  • A PHP fatal (at /fatal)
  • A Drupal fatal (PHP E_RECOVERABLE_ERROR) at /drupal_fatal
  • A Drupal DBTNG Exception with its excellent reporting at /drupal_dbtng_fatal
  • A Drupal nonfatal at /drupal_nonfatal
  • A random exception at /drupal_exception

You should know already that this is for debugging our error reporting capabilities and should not be deployed on a real site.

If you want a tarball of this, 7.x and 8.x

Project Information