Status class

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.

Constructors

Status({int? code, List<Map<String, Object?>>? details, String? message})
Status.fromJson(Map json_)

Properties

code int?
The status code.
getter/setter pair
details List<Map<String, Object?>>?
An array that contains a single ExecutionError object that provides information about the nature of the error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
A developer-facing error message, which is in English.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited