(
message: string,
public readonly code: 'not_found' | 'not_running' | 'unsupported_type',
)
| 11 | |
| 12 | export 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 | |
| 22 | type StopTaskContext = { |
nothing calls this directly
no outgoing calls
no test coverage detected