\App\ExceptionsException

Summary

Methods
Properties
Constants
successJson()
errorJson()
setHttpCode()
myAjaxReturn()
__construct()
No public properties found
No constants found
No protected methods found
$http_code
$msg
N/A
No private methods found
No private properties found
N/A

Properties

$http_code

$http_code : 

Type

$msg

$msg : 

Type

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]

__construct()

__construct(  $message = "success",   $code = 200, \Throwable  $previous = null) 

Parameters

$message
$code
\Throwable $previous