PHP Basics

TriggerExceptionError
in package

Trigger errors for uncaught exceptions.

Usage: set_exception_handler(new TriggerExceptionError());

Tags
author

Sebastian Meyer sebastian.meyer@opencultureconsulting.com

Table of Contents

Methods

__invoke()  : void
Convert an uncaught exception into an PHP error.

Methods

__invoke()

Convert an uncaught exception into an PHP error.

public __invoke(Throwable $exception) : void
Parameters
$exception : Throwable

The exception


        
On this page

Search results