You are here

function KalturaStatsService::reportKceError in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 5171

Class

KalturaStatsService

Code

function reportKceError(KalturaCEError $kalturaCEError) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "kalturaCEError", $kalturaCEError
    ->toParams());
  $this->client
    ->queueServiceActionCall("stats", "reportKceError", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaCEError");
  return $resultObject;
}