MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/tasks/stopTask.ts:11–17  ·  view source on GitHub ↗
(
    message: string,
    public readonly code: 'not_found' | 'not_running' | 'unsupported_type',
  )

Source from the content-addressed store, hash-verified

9
10export class StopTaskError extends Error {
11 constructor(
12 message: string,
13 public readonly code: 'not_found' | 'not_running' | 'unsupported_type',
14 ) {
15 super(message)
16 this.name = 'StopTaskError'
17 }
18}
19
20type StopTaskContext = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected