(code: number)
| 878 | return errorResponse('PTY_ERROR', `Failed to create PTY: ${msg}`, 500); |
| 879 | } |
| 880 | }; |
| 881 | } |
| 882 | |
| 883 | function createPtyResizeHandler(deps: ServerDependencies, ptyId: string) { |
| 884 | return async (req: Request): Promise<Response> => { |
| 885 | let body: PtyResizeBody; |
| 886 | try { |
| 887 | body = await readJsonBody<PtyResizeBody>(req, {}); |
no outgoing calls
no test coverage detected