PHP Class Horde_Kolab_Storage_Exception_Pear, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Exception_Pear
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
catchError ( mixed $result ) : mixed Exception handling.

Method Details

catchError() public static method

Exception handling.
public static catchError ( mixed $result ) : mixed
$result mixed The result to be checked for a PEAR_Error.
return mixed Returns the original result if it was no PEAR_Error.