domain = $domain; } /** * @return string */ public function getDomain() { return $this->domain; } /** * Specific reason for the error. Some of the possible values are: - * "groupTooBig" - The group of users requested is too large for a single * query. - "tooManyCalendarsRequested" - The number of calendars requested * is too large for a single query. - "notFound" - The requested resource was * not found. - "internalError" - The API service has encountered an internal * error. Additional error types may be added in the future, so clients * should gracefully handle additional error statuses not included in this * list. * * @param string $reason */ public function setReason($reason) { $this->reason = $reason; } /** * @return string */ public function getReason() { return $this->reason; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Error::class, 'Google_Service_Calendar_Error');