\Horde_ErrorHandler

Provides methods used to handle error reporting.

Copyright 2012-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
fatal()
errorHandler()
catchFatalError()
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

fatal()

fatal(mixed  $error) 

Aborts with a fatal error, displaying debug information to the user.

Parameters

mixed $error

Either a string or an object with a getMessage() method (e.g. PEAR_Error, Exception).

errorHandler()

errorHandler(integer  $errno, string  $errstr, string  $errfile, integer  $errline, array  $errcontext) 

PHP legacy error handling (non-Exceptions).

Parameters

integer $errno

See set_error_handler().

string $errstr

See set_error_handler().

string $errfile

See set_error_handler().

integer $errline

See set_error_handler().

array $errcontext

See set_error_handler().

catchFatalError()

catchFatalError() 

Catch fatal errors.