/** * Returns true, if the error response is a Perun exception. * * @return boolean */ public function isPerunException() { $isPerunException = $this->payload->getParam(self::PARAM_ERROR_IS_PERUN_EXCEPTION); if ($isPerunException && $isPerunException == 'true') { return true; } return false; }