google_api_script v0.0.1 GoogleApi.Script.V1.Model.ExecutionError View Source

An object that provides information about the nature of an error in the Apps Script Execution API. If an `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): The error message thrown by Apps Script, usually localized into the user's language. Defaults to: null.
  • errorType (String): The error type, for example `TypeError` or `ReferenceError`. If the error type is unavailable, this field is not included. Defaults to: null.
  • scriptStackTraceElements (List[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.