{"record":{"id":"009b8bb77b1528a6","repo":"Kong/insomnia","slug":"currently-clear-is-not-supported-for-the-timelin","errorCode":null,"errorMessage":"currently \"clear\" is not supported for the timeline","messagePattern":"currently \"clear\" is not supported for the timeline","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia-scripting-environment/src/objects/console.ts","lineNumber":114,"sourceCode":"  info = (...values: any[]) => {\n    this.printLog(this.rows, 'info', ...values);\n  };\n\n  /**\n   * Logs the provided values to the console with a log level of 'error'.\n   *\n   * @param values - The values to be logged. Accepts any number of arguments of any type.\n   */\n  error = (...values: any[]) => {\n    this.printLog(this.rows, 'error', ...values);\n  };\n\n  /**\n   * Clears the console output for the specified log level.\n   * This method is currently not supported.\n   */\n  clear = (_level: LogLevel, _message?: any, ..._optionalParams: any[]) => {\n    throw new Error('currently \"clear\" is not supported for the timeline');\n  };\n\n  /** @ignore */\n  dumpLogs = () => {\n    return this.rows.map(row => JSON.stringify(row) + '\\n').join('\\n');\n  };\n\n  /** @ignore */\n  dumpLogsAsArray = () => {\n    return this.rows.map(row => JSON.stringify(row) + '\\n');\n  };\n}\n\n/** @ignore */\nlet builtInConsole = new Console();\n/** @ignore */\nexport function getExistingConsole() {\n  return builtInConsole;","sourceCodeStart":96,"sourceCodeEnd":132,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia-scripting-environment/src/objects/console.ts#L96-L132","documentation":"Error \"currently \"clear\" is not supported for the timeline\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia-scripting-environment/src/objects/console.ts:114 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}