catchError()
catchError(mixed $result) : mixed
Exception handling.
Parameters
mixed | $result | The result to be checked for a PEAR_Error. |
Throws
- \Horde_Exception_Pear
In case the result was a PEAR_Error.
Returns
mixed —Returns the original result if it was no PEAR_Error.