public function overrideErrorResponses(ErrorResponseDictionary $overridingDictionary) {
    foreach ($overridingDictionary->errorResponses as $key => $errorResponse) {
      $this->errorResponses[$key] = $errorResponse;
    }
  }