Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Psr7Middlewares
Middleware
ErrorHandler
__construct
Psr7Middlewares\Middleware\ErrorHandler::__construct PHP Method
ErrorHandler Class Documentation
Show file
Open project: oscarotero/psr7-middlewares
__construct()
public
method
Constructor.
public
__construct
(
callable
|
string
|
null
$handler
= null )
$handler
callable
|
string
|
null
public function __construct($handler = null) { $this->handler = $handler; }
ErrorHandler
__construct
__invoke
catchExceptions
defaultHandler
errorHtml
errorImage
errorJson
errorSvg
errorText
errorXml
getException
isError
statusCode