public final class ExecutionError
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Apps Script API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ExecutionError() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionError |
clone() |
java.lang.String |
getErrorMessage()
The error message thrown by Apps Script, usually localized into the user's language.
|
java.lang.String |
getErrorType()
The error type, for example `TypeError` or `ReferenceError`.
|
java.util.List<ScriptStackTraceElement> |
getScriptStackTraceElements()
An array of objects that provide a stack trace through the script to show where the execution
failed, with the deepest call first.
|
ExecutionError |
set(java.lang.String fieldName,
java.lang.Object value) |
ExecutionError |
setErrorMessage(java.lang.String errorMessage)
The error message thrown by Apps Script, usually localized into the user's language.
|
ExecutionError |
setErrorType(java.lang.String errorType)
The error type, for example `TypeError` or `ReferenceError`.
|
ExecutionError |
setScriptStackTraceElements(java.util.List<ScriptStackTraceElement> scriptStackTraceElements)
An array of objects that provide a stack trace through the script to show where the execution
failed, with the deepest call first.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getErrorMessage()
null for nonepublic ExecutionError setErrorMessage(java.lang.String errorMessage)
errorMessage - errorMessage or null for nonepublic java.lang.String getErrorType()
null for nonepublic ExecutionError setErrorType(java.lang.String errorType)
errorType - errorType or null for nonepublic java.util.List<ScriptStackTraceElement> getScriptStackTraceElements()
null for nonepublic ExecutionError setScriptStackTraceElements(java.util.List<ScriptStackTraceElement> scriptStackTraceElements)
scriptStackTraceElements - scriptStackTraceElements or null for nonepublic ExecutionError set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ExecutionError clone()
clone in class com.google.api.client.json.GenericJson