You are here

function KalturaClient::reportError in Kaltura 6

Same name and namespace in other branches
  1. 5 kaltura_client/kaltura_client.php \KalturaClient::reportError()

File

kaltura_client/kaltura_client.php, line 1591

Class

KalturaClient

Code

function reportError($kalturaSessionUser, $reportingObj = null, $errorCode = null, $errorDescription = null) {
  $params = array();
  $this
    ->addOptionalParam($params, "reporting_obj", $reportingObj);
  $this
    ->addOptionalParam($params, "error_code", $errorCode);
  $this
    ->addOptionalParam($params, "error_description", $errorDescription);
  $result = $this
    ->hit("reporterror", $kalturaSessionUser, $params);
  return $result;
}