Class Status
If a run
call succeeds but the script function (or Apps Script itself) throws an exception, the response
body's error field contains this Status
object.
Implements
Inherited Members
Namespace: Google.Apis.Script.v1.Data
Assembly: Google.Apis.Script.v1.dll
Syntax
public class Status : IDirectResponseSchema
Properties
Code
The status code. For this API, this value either: - 10, indicating a SCRIPT_TIMEOUT
error, - 3, indicating
an INVALID_ARGUMENT
error, or - 1, indicating a CANCELLED
execution.
Declaration
[JsonProperty("code")]
public virtual int? Code { get; set; }
Property Value
Type | Description |
---|---|
int? |
Details
An array that contains a single ExecutionError object that provides information about the nature of the error.
Declaration
[JsonProperty("details")]
public virtual IList<IDictionary<string, object>> Details { get; set; }
Property Value
Type | Description |
---|---|
IList<IDictionary<string, object>> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the details field, or localized by the client.
Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
string |