| PEAR_Error::getUserInfo() | PEAR_Error::toString() |
| PEAR Error object | |
| PEAR Manual | |
require_once 'PEAR.php';
|
void PEAR_Error::PEAR_Error (
string
$message = 'unknown error'
,
integer
$code = NULL
,
integer
$mode = NULL
,
mixed
$options = NULL
,
string
$userinfo = NULL
)
Constructor
string $message - the error message. A brief description of the occured failure or problem.
string $code - the error code. An error specific number.
integer $mode - the error mode
mixed $options - error mode specific options
string $userinfo - a string for additional user or debug info
This function can be called statically.
| PEAR_Error::getUserInfo() | PEAR_Error::toString() |
| PEAR Error object | |
| PEAR Manual | |