* Custom error to signal that output has been handled and process should exit.
| 28 | * Custom error to signal that output has been handled and process should exit. |
| 29 | */ |
| 30 | class DagHandledError extends Error { |
| 31 | readonly exitCode: number |
| 32 | constructor(exitCode: number) { |
| 33 | super('DAG output handled') |
| 34 | this.name = 'DagHandledError' |
| 35 | this.exitCode = exitCode |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Creates the dag show action - displays the dependency graph. |
nothing calls this directly
no outgoing calls
no test coverage detected