Horde_Kolab_Storage_Exception_Pear
extends Horde_Exception_Pear
in package
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.
Tags
Table of Contents
- catchError() : mixed
- Exception handling.
Methods
catchError()
Exception handling.
public
static catchError(mixed $result) : mixed
Parameters
- $result : mixed
-
The result to be checked for a PEAR_Error.
Tags
Return values
mixed —Returns the original result if it was no PEAR_Error.