Status class

If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field will contain this Status object.

Constructors

Status()
Status.fromJson(Map _json)

Properties

code int
The status code, which should be an enum value of google.rpc.Code.
read / write
details List<Map<String, Object>>
An array that contains a single ExecutionError object that provides information about the nature of the error. [...]
read / write
message String
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited