| 125 | * Structured error for browse CLI shell-out failures. |
| 126 | */ |
| 127 | export class BrowseClientError extends Error { |
| 128 | constructor( |
| 129 | public readonly exitCode: number, |
| 130 | public readonly command: string, |
| 131 | public readonly stderr: string, |
| 132 | ) { |
| 133 | super(`browse ${command} exited ${exitCode}: ${stderr.trim()}`); |
| 134 | this.name = "BrowseClientError"; |
| 135 | } |
| 136 | } |
nothing calls this directly
no outgoing calls
no test coverage detected