errorMessage = $errorMessage; } /** * @return string */ public function getErrorMessage() { return $this->errorMessage; } /** * @param string */ public function setErrorType($errorType) { $this->errorType = $errorType; } /** * @return string */ public function getErrorType() { return $this->errorType; } /** * @param ScriptStackTraceElement[] */ public function setScriptStackTraceElements($scriptStackTraceElements) { $this->scriptStackTraceElements = $scriptStackTraceElements; } /** * @return ScriptStackTraceElement[] */ public function getScriptStackTraceElements() { return $this->scriptStackTraceElements; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ExecutionError::class, 'Google_Service_Script_ExecutionError');