google_api_script v0.3.0 GoogleApi.Script.V1.Model.ExecutionError View Source
An object that provides information about the nature of an error resulting from an attempted execution of a script function using the Apps Script API. If a run call succeeds but the script function (or Apps Script itself) throws an exception, the response body's error field contains a Status object. The `Status` object's `details` field contains an array with a single one of these `ExecutionError` objects.
Attributes
- errorMessage (String.t): The error message thrown by Apps Script, usually localized into the user's language. Defaults to:
null
. - errorType (String.t): The error type, for example `TypeError` or `ReferenceError`. If the error type is unavailable, this field is not included. Defaults to:
null
. - scriptStackTraceElements ([ScriptStackTraceElement]): An array of objects that provide a stack trace through the script to show where the execution failed, with the deepest call first. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Script.V1.Model.ExecutionError{
errorMessage: any(),
errorType: any(),
scriptStackTraceElements: [
GoogleApi.Script.V1.Model.ScriptStackTraceElement.t()
]
}
t() :: %GoogleApi.Script.V1.Model.ExecutionError{ errorMessage: any(), errorType: any(), scriptStackTraceElements: [ GoogleApi.Script.V1.Model.ScriptStackTraceElement.t() ] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.