errors.ts ×1
Frontier kind: Code frontier
unlabeled · c_5d6f8c834ebf
50 tests · 6907 LOC · 31 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
errors.ts ×1 — Focused concept
Introduced files:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 2 — default mode parks, respondToPermissionRequest(false) → deny|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 7 — pending_confirmation signal carries the correct shape|occurrence=1, claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 1 — default mode parks, respondToPermissionRequest(true) → allow|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — AskUserQuestion + ExitPlanMode inside a subagent context tag their emitted signals with parentToolCallId|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) form-mode elicitation surfaces ChatInputRequested and returns accepted content|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession on a materialized session cancels the in-flight turn and leaves the session reusable|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.5 — INTERACTIVE_CLAUDE_TOOLS) Test 13b — ExitPlanMode: Deny returns deny with production wording, no mode flip|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) declined form-mode elicitation returns a decline result|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 7 §3.5 — INTERACTIVE_CLAUDE_TOOLS) Test 13 — AskUserQuestion: cancel returns deny with production wording|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×2 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
claudeCanUseTool.ts ×3 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
agentHostChangesetService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeCanUseTool.ts ×5 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) url-mode elicitation surfaces the url with no questions and accepts with no content|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeElicitationBridge.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) a form with no representable fields cancels without surfacing a prompt|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeCanUseTool.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent (Phase 10.6 — MCP elicitation translation) a url-mode request with no url cancels without surfacing a prompt|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
claudeElicitationBridge.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentService.test|title=AgentService (node dispatcher) worktree working directory restoreSession uses agent working directory in state|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentHostChangesetService.ts ×25 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent disposing a materialized session aborts the controller and rejects the in-flight send|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostChangesetOperationService.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent _resumeSession dedup shutdown during resume cancels the in-flight resume|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSdkPipeline.ts ×1 — Ancestor (broader)
Introduced files:
uncommitted triggers the first git diff refresh|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent dispose racing _writeCustomizationDirectory does not orphan the materialized session (C1)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent agent.dispose() during a racing first sendMessage aborts the provisional and disposes the WarmQuery|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentHostChangesetOperationService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostChangesetService.ts ×1 — Ancestor (broader)
Introduced files:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostChangesetService.ts ×1 — Ancestor (broader)
Introduced files:
agentHostChangesetService.ts ×9 — Ancestor (broader)
Introduced files:
agentService.test|title=AgentService (node dispatcher) aggregation createSession attaches git state into state _meta when working directory is present|occurrence=1 — Ancestor (broader)
Introduced tests:
agentService.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
worktreeIsolation.ts ×2 — Ancestor (broader)
Introduced files:
agentService.test|title=AgentService (node dispatcher) worktree working directory createSession uses agent-resolved working directory in state|occurrence=1, agentService.test|title=AgentService (node dispatcher) worktree working directory createSession falls back to config working directory when agent does not resolve|occurrence=1 — Ancestor (broader)
Introduced tests:
async.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent _resumeSession dedup post-init shutdown race: disposes the session and throws CancellationError instead of registering on a disposed _sessions map|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeSdkPipeline.test|title=ClaudeSdkPipeline setEffort setEffort while awaiting rebind (post-abort) is buffered, not pushed to the dead query, then replayed on rebind|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSdkPipeline.test|title=ClaudeSdkPipeline setEffort switching between two effort-capable levels pushes the new value|occurrence=1, claudeSdkPipeline.test|title=ClaudeSdkPipeline setEffort switching to a model with no effort clears the stale effort via applyFlagSettings({ effortLevel: null })|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSdkPipeline.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSdkPipeline.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostRequestService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
sshRemoteAgentHostService.ts ×8 — Ancestor (broader)
Introduced files:
Introduced tests:
async.test|title=Async cancelablePromise cancel despite inner promise being resolved|occurrence=1 — Ancestor (broader)
Introduced tests:
async.test|title=Async cancelablePromise set token, don't wait for inner promise|occurrence=1 — Ancestor (broader)
Introduced tests:
async.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
paging.test|title=PagedModel cancellation works|occurrence=1 — Ancestor (broader)
Introduced tests:
paging.test|title=PagedModel same page cancellation works|occurrence=1 — Ancestor (broader)
Introduced tests:
paging.ts ×3 — Ancestor (broader)
Introduced files:
paging.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
errors.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
errors.ts ×1 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/base/common/errors.ts 2 introduced LOC · 1 range
Open complete file
217
export function isCancellationError ( error : any ) : boolean {
218
if ( error instanceof CancellationError ) {
220
>
}
221
return error instanceof Error && error . name === canceledName && error . message === canceledName ;
222
}