Runtime.ExceptionDetails

Detailed information about exception (or error) that was thrown during script compilation or execution.

{
  "id": "ExceptionDetails",
  "type": "object",
  "description": "Detailed information about exception (or error) that was thrown during script compilation or execution.",
  "properties": [
    {
      "name": "exceptionId",
      "type": "integer",
      "description": "Exception id."
    },
    {
      "name": "text",
      "type": "string",
      "description": "Exception text, which should be used together with exception object when available."
    },
    {
      "name": "lineNumber",
      "type": "integer",
      "description": "Line number of the exception location (0-based)."
    },
    {
      "name": "columnNumber",
      "type": "integer",
      "description": "Column number of the exception location (0-based)."
    },
    {
      "name": "scriptId",
      "$ref": "ScriptId",
      "optional": true,
      "description": "Script ID of the exception location."
    },
    {
      "name": "url",
      "type": "string",
      "optional": true,
      "description": "URL of the exception location, to be used when the script was not reported."
    },
    {
      "name": "stackTrace",
      "$ref": "StackTrace",
      "optional": true,
      "description": "JavaScript stack trace if available."
    },
    {
      "name": "exception",
      "$ref": "RemoteObject",
      "optional": true,
      "description": "Exception object if available."
    },
    {
      "name": "executionContextId",
      "$ref": "ExecutionContextId",
      "optional": true,
      "description": "Identifier of the context where exception happened."
    }
  ]
}