HumHub Documentation (unofficial)

ErrorHandler
in package
implements EventSubscriberInterface uses StaticEvents

Table of Contents

Interfaces

EventSubscriberInterface
An EventSubscriber knows itself what events it is interested in.

Properties

$events  : mixed
$convertDeprecationsToExceptions  : mixed
$deprecationsInstalled  : mixed
$errorLevel  : int
$initialized  : bool
$oldHandler  : mixed
$stopped  : bool
$suiteFinished  : mixed

Methods

__construct()  : mixed
errorHandler()  : mixed
getSubscribedEvents()  : mixed
handle()  : mixed
onFinish()  : mixed
shutdownHandler()  : mixed
handleDeprecationError()  : mixed
registerDeprecationErrorHandler()  : mixed

Properties

$events

public static mixed $events = [\Codeception\Events::SUITE_BEFORE => 'handle', \Codeception\Events::SUITE_AFTER => 'onFinish']

$convertDeprecationsToExceptions

private mixed $convertDeprecationsToExceptions = false

$deprecationsInstalled

private mixed $deprecationsInstalled = false

$errorLevel

private int $errorLevel

stores bitmask for errors

$initialized

private bool $initialized = false

to avoid double error handler substitution

$stopped

private bool $stopped = false

to keep shutdownHandler from possible looping.

Methods

errorHandler()

public errorHandler(mixed $errno, mixed $errstr, mixed $errfile, mixed $errline[, mixed $context = array() ]) : mixed
Parameters
$errno : mixed
$errstr : mixed
$errfile : mixed
$errline : mixed
$context : mixed = array()

getSubscribedEvents()

public static getSubscribedEvents() : mixed

handleDeprecationError()

private handleDeprecationError(mixed $type, mixed $message, mixed $file, mixed $line, mixed $context) : mixed
Parameters
$type : mixed
$message : mixed
$file : mixed
$line : mixed
$context : mixed

registerDeprecationErrorHandler()

private registerDeprecationErrorHandler() : mixed

        
On this page

Search results