(f: () => A)
| 1284 | } |
| 1285 | |
| 1286 | private guard<A>(f: () => A): A { |
| 1287 | if (this.failure !== undefined) throw this.failure |
| 1288 | try { |
| 1289 | return f() |
| 1290 | } catch (error) { |
| 1291 | if (isZipError(error)) this.failure = error |
| 1292 | throw error |
| 1293 | } |
| 1294 | } |
| 1295 | |
| 1296 | private advance(): Header | undefined | typeof NeedInput { |
| 1297 | while (this.current !== undefined) { |
no test coverage detected