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