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
Dingo
Api
Exception
Handler
setErrorFormat
Dingo\Api\Exception\Handler::setErrorFormat PHP Method
Handler Class Documentation
Show file
Open project: dingo/api
setErrorFormat()
public
method
Set the error format array.
public
setErrorFormat
(
array
$format
) :
void
$format
array
return
void
public function setErrorFormat(array $format) { $this->format = $format; }
Handler
__construct
genericResponse
getExceptionStatusCode
getHandlers
getHeaders
getStatusCode
handle
handlerHint
newResponseArray
prepareReplacements
recursivelyRemoveEmptyReplacements
register
render
renderForConsole
report
runningInDebugMode
setDebug
setErrorFormat
setReplacements