\Horde_Kolab_Storage_Exception_Pear

This class converts PEAR errors into exceptions for the Kolab_Storage package.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
catchError()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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.