public function getCallBack($request, \Exception $exception)
    {
        foreach ($this->exceptionsCallbacks as $callback){
            if(is_callable($callback)){
                $data = call_user_func($callback,$request,$exception);
                if(!is_null($data)){
                    return $data;
                }
            }

        }
    }