Package name this error belongs to
Package-specific error code
Error level. This is NOT spell-checked
associative array of error parameters
Error message, or a portion of it if the message is to be generated
If this error re-packages an error pushed by another package, place the array returned from pop() in this parameter
Protected parameter: use this to pass in the debug_backtrace that should be used to find error context
returns if compatibility mode is on, a PEAR_Error is also thrown. If the class Exception exists, then one is returned to allow code like:
<?php 1 throw ($stack->push(MY_ERROR_CODE, 'error', array('username' => 'grob'))); ?> |