Detailed Description
Definition at line 826 of file PEAR.php.
Member Function Documentation
getBacktrace |
( |
$ |
frame = null | ) |
|
Get the call backtrace from where the error was generated. Supported with PHP 4.3.0 or newer.
- Parameters:
-
int | $frame | (optional) what frame to fetch |
- Returns:
- array Backtrace, or NULL if not available. public
Definition at line 1030 of file PEAR.php.
Get the callback function/method from an error object.
- Returns:
- mixed callback function or object/method array public
Definition at line 943 of file PEAR.php.
Get error code from an error object
- Returns:
- int error code public
Definition at line 972 of file PEAR.php.
Get additional debug information supplied by the application.
- Returns:
- string debug information public
Definition at line 1014 of file PEAR.php.
Get the error message from an error object.
- Returns:
- string full error message public
Definition at line 957 of file PEAR.php.
Get the error mode from an error object.
- Returns:
- int error mode public
Definition at line 930 of file PEAR.php.
Get the name of this error/exception.
- Returns:
- string error/exception name (type) public
Definition at line 986 of file PEAR.php.
Get additional user-supplied information.
- Returns:
- string user-supplied information public
Definition at line 1000 of file PEAR.php.
PEAR_Error |
( |
$ |
message = 'unknown error' , |
|
|
$ |
code = null , |
|
|
$ |
mode = null , |
|
|
$ |
options = null , |
|
|
$ |
userinfo = null |
|
) |
| |
PEAR_Error constructor
- Parameters:
-
string | $message | message |
int | $code | (optional) error code |
int | $mode | (optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION |
mixed | $options | (optional) error level, _OR_ in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple. |
string | $userinfo | (optional) additional user/debug info |
public
Definition at line 861 of file PEAR.php.
Make a string representation of this object.
- Returns:
- string a string with an object summary public
Definition at line 1068 of file PEAR.php.
Field Documentation
$error_message_prefix = '' |
The documentation for this class was generated from the following file: