Show / Hide Table of Contents

Class ExecutionError

An object that provides information about the nature of an error resulting from an attempted execution of a script function using the Apps Script API. If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains a Status object. The Status object's details field contains an array with a single one of these ExecutionError objects.

Inheritance
object
ExecutionError
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Script.v1.Data
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ExecutionError : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ErrorMessage

The error message thrown by Apps Script, usually localized into the user's language.

Declaration
[JsonProperty("errorMessage")]
public virtual string ErrorMessage { get; set; }
Property Value
Type Description
string

ErrorType

The error type, for example TypeError or ReferenceError. If the error type is unavailable, this field is not included.

Declaration
[JsonProperty("errorType")]
public virtual string ErrorType { get; set; }
Property Value
Type Description
string

ScriptStackTraceElements

An array of objects that provide a stack trace through the script to show where the execution failed, with the deepest call first.

Declaration
[JsonProperty("scriptStackTraceElements")]
public virtual IList<ScriptStackTraceElement> ScriptStackTraceElements { get; set; }
Property Value
Type Description
IList<ScriptStackTraceElement>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX