( command: string, handlerFamily: string, response: DaemonResponse | null, )
| 175 | } |
| 176 | |
| 177 | function expectHandlerResponse( |
| 178 | command: string, |
| 179 | handlerFamily: string, |
| 180 | response: DaemonResponse | null, |
| 181 | ): DaemonResponse { |
| 182 | if (response) return response; |
| 183 | throw new AppError( |
| 184 | 'INTERNAL_ERROR', |
| 185 | `Daemon handler routing mismatch: ${handlerFamily} handler matched command "${command}" but returned no response.`, |
| 186 | ); |
| 187 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…