errorMessage = $errorMessage; } /** * @return string */ public function getErrorMessage() { return $this->errorMessage; } /** * Error codes. Matches the definition of HTTP status codes. * * @param int $httpStatusCode */ public function setHttpStatusCode($httpStatusCode) { $this->httpStatusCode = $httpStatusCode; } /** * @return int */ public function getHttpStatusCode() { return $this->httpStatusCode; } /** * The type of error. * * Accepted values: UNKNOWN, NETWORK_ERROR, DNS_ERROR, CONNECTION_ERROR, * AUTHENTICATION_ERROR, AUTHORIZATION_ERROR, SERVER_ERROR, QUOTA_EXCEEDED, * SERVICE_UNAVAILABLE, CLIENT_ERROR * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RepositoryError::class, 'Google_Service_CloudSearch_RepositoryError');