public function overrideErrorResponses(ErrorResponseDictionary $overridingDictionary) {
    foreach ($overridingDictionary->errorResponses as $key => $errorResponse) {
      $this->errorResponses[$key] = $errorResponse;
    }
  }
public function overrideErrorResponses(ErrorResponseDictionary $overridingDictionary) {
    foreach ($overridingDictionary->errorResponses as $key => $errorResponse) {
      $this->errorResponses[$key] = $errorResponse;
    }
  }
public function overrideErrorResponses ( ErrorResponseDictionary $ overridingDictionary ) { foreach ( $ overridingDictionary -> errorResponses as $ key => $ errorResponse ) { $ this -> errorResponses [ $ key ] = $ errorResponse ; } }
Creates or overrides error responses with an initialization array in mass

@param $initArray
Creates or overrides error responses with an initialization array in mass