HumHub Documentation (unofficial)

ErrorHandlerInterface

Handle Errors that might occur during execution of ldap_*-functions

Table of Contents

Methods

startErrorHandling()  : void
Start the ErrorHandling-process
stopErrorHandling()  : mixed
Stop the error-handling process.

Methods

startErrorHandling()

Start the ErrorHandling-process

public startErrorHandling([int $level = E_WARNING ]) : void
Parameters
$level : int = E_WARNING

stopErrorHandling()

Stop the error-handling process.

public stopErrorHandling([bool|false $throw = false ]) : mixed

The parameter $throw handles whether the captured errors shall be thrown as Exceptions or not

Parameters
$throw : bool|false = false

        
On this page

Search results