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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected