Public Method Details |
PEAR_Error |
public void PEAR_Error( [ string $message, integer $code ], string $mode, string $options, string $debuginfo )
|
|
PEAR_Error constructor
|
Parameter |
|
string |
$message |
= >>'unknown error'<< |
|
, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER or
PEAR_ERROR_CALLBACK |
|
|
integer |
$code |
= >>0<< |
|
/method
tuple. |
|
|
string |
$mode |
|
|
Warning: documentation is missing. |
|
|
string |
$options |
|
|
Warning: documentation is missing. |
|
|
string |
$debuginfo |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
getMode |
public int getMode( )
|
|
Get the error mode from an error object.
|
Returns |
int error mode |
|
getCallback |
public mixed getCallback( )
|
|
Get the callback function/method from an error object.
|
Returns |
mixed callback function or object/method array |
|
getMessage |
public string getMessage( )
|
|
Get the error message from an error object.
|
Returns |
string full error message |
|
getCode |
public int getCode( )
|
|
Get error code from an error object
|
Returns |
int error code |
|
getType |
public string getType( )
|
|
Get the name of this error/exception.
|
Returns |
string error /exception name (type) |
|
getDebugInfo |
public string getDebugInfo( )
|
|
Get additional debug information supplied by the application.
|
Returns |
string debug information |
|
toString |
public string toString( )
|
|
Make a string representation of this object.
|
Returns |
string a string with an object summary |
|