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 will contain a `Status` object.
|
Status |
Status.set(java.lang.String fieldName,
java.lang.Object value) |
Status |
Status.setCode(java.lang.Integer code)
The status code.
|
Status |
Status.setDetails(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> details)
An array that contains a single `ExecutionError` object that provides information about the
nature of the error.
|
Status |
Status.setMessage(java.lang.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 will contain a `Status` object.
|