(e)
| 39 | #endif |
| 40 | }, |
| 41 | convertNodeCode(e) { |
| 42 | var code = e.code; |
| 43 | #if ASSERTIONS |
| 44 | assert(code in ERRNO_CODES, `unexpected node error code: ${code} (${e})`); |
| 45 | #endif |
| 46 | return ERRNO_CODES[code]; |
| 47 | }, |
| 48 | tryFSOperation(f) { |
| 49 | try { |
| 50 | return f(); |