| 113 | } |
| 114 | |
| 115 | export class BrowseClientError extends Error { |
| 116 | constructor( |
| 117 | message: string, |
| 118 | public readonly status?: number, |
| 119 | public readonly body?: string, |
| 120 | ) { |
| 121 | super(message); |
| 122 | this.name = 'BrowseClientError'; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * Thin client over the daemon's POST /command endpoint. |
nothing calls this directly
no outgoing calls
no test coverage detected