\App\ExceptionsHandler

Summary

Methods
Properties
Constants
successJson()
errorJson()
setHttpCode()
myAjaxReturn()
register()
render()
No public properties found
No constants found
No protected methods found
$http_code
$dontReport
$dontFlash
N/A
No private methods found
No private properties found
N/A

Properties

$http_code

$http_code : 

Type

$dontReport

$dontReport : array

A list of the exception types that are not reported.

Type

array

$dontFlash

$dontFlash : array

A list of the inputs that are never flashed for validation exceptions.

Type

array

Methods

successJson()

successJson(  $data = array(),   $msg = 'success',   $other = array()) 

Parameters

$data
$msg
$other

errorJson()

errorJson(  $msg = 'error',   $status,   $data = array(),   $other = array()) 

Parameters

$msg
$status
$data
$other

setHttpCode()

setHttpCode(\App\Traits\int  $http_code) 

Parameters

\App\Traits\int $http_code

myAjaxReturn()

myAjaxReturn(\App\Traits\[type]  $data) 

[myAjaxReturn]

Parameters

\App\Traits\[type] $data

[description]

register()

register() : void

Register the exception handling callbacks for the application.

render()

render(\Illuminate\Http\Request  $request, \Throwable  $exception) : \Symfony\Component\HttpFoundation\Response

Render an exception into an HTTP response.

Parameters

\Illuminate\Http\Request $request
\Throwable $exception

Throws

\Throwable

Returns

\Symfony\Component\HttpFoundation\Response