(items: BatchItem[], status: number, message: string)
| 103 | ); |
| 104 | |
| 105 | const rejectBatch = (items: BatchItem[], status: number, message: string) => { |
| 106 | items.forEach((item) => { |
| 107 | item.reject(toClientError(item, { errors: [{ message }] }, status)); |
| 108 | }); |
| 109 | }; |
| 110 | |
| 111 | const requestSingle = async (item: BatchItem): Promise<void> => { |
| 112 | try { |
no test coverage detected