An extended version of PEAR_Error.
RSError is capable of handling the parameter $userinfo as an associative array with additional information about the error: object, property and operation. It is recommende to use the wrapper RSErrorManager::raiseRSError to raise a new RSError.
Located in /code/framework/RSErrorManager/RSError.php (line 44)
PEAR_Error | --RSError
Constructor method.
The constructor calls the parent constructor PEAR_Error with the arguments $message, $code, $mode, $options and $userinfo. Before doing so the private fields object, property and operation are set if the parameter $userinfo is an associativ array. The associative array should contain tree key-value-pairs: The key 'object' pointing to the name of the object to which the error is related. The key 'property' pointing to the name of the property to which the error is related. The key 'operation' pointing to the name of the operation to which the error is related.
Returns the value of the field object.
Returns the value of the field operation.
Returns the value of the field property.
Returns a literal representation of this error.
Overwrites the method toString inherited by PEAR_Error. Note that the return value of PEAR_Error::toString is appended.
Documentation generated on Mon, 8 Dec 2003 13:13:04 +0100 by phpDocumentor 1.2.3