app/Exceptions/AuthorisationException.php
/**
    * render the request
    *
    * @param  Request  $request
    * @return Response
    */
render the request
@param  Request  $request
@return Response
render the request @param Request $request @return Response
public function render(Request $request)
    {
        return response([
            'error' => $this->getErrorMessage($this->message),
            'code' => $this->code,
            'status' => 'Error',
        ], $this->code);
    }
public function render ( Request $ request ) { return response ( [ 'error' => $ this -> getErrorMessage ( $ this -> message ) , 'code' => $ this -> code , 'status' => 'Error' , ] , $ this -> code ) ; }
render the request
 @param  Request  $request
 @return Response
render the request @param Request $request @return Response