Package | Description |
---|---|
com.google.api.services.script.model |
Modifier and Type | Method and Description |
---|---|
Status |
Status.clone() |
Status |
Operation.getError()
If a `run` call succeeds but the script function (or Apps Script itself) throws an exception,
this field contains a Status object.
|
Status |
Status.set(String fieldName,
Object value) |
Status |
Status.setCode(Integer code)
The status code.
|
Status |
Status.setDetails(List<Map<String,Object>> details)
An array that contains a single ExecutionError object that provides information about the
nature of the error.
|
Status |
Status.setMessage(String message)
A developer-facing error message, which is in English.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.setError(Status error)
If a `run` call succeeds but the script function (or Apps Script itself) throws an exception,
this field contains a Status object.
|
Copyright © 2011–2024 Google. All rights reserved.