Documentation

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
category

Horde

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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
throws
Horde_Exception_Pear

In case the result was a PEAR_Error.

Return values
mixed

Returns the original result if it was no PEAR_Error.

Search results