context = $context; } /** * @return string */ public function getContext() { return $this->context; } /** * @param string */ public function setPayload($payload) { $this->payload = $payload; } /** * @return string */ public function getPayload() { return $this->payload; } /** * @param StackTrace */ public function setStackTrace(StackTrace $stackTrace) { $this->stackTrace = $stackTrace; } /** * @return StackTrace */ public function getStackTrace() { return $this->stackTrace; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Error::class, 'Google_Service_WorkflowExecutions_Error');