(fn)
| 61 | } = internalBinding('os'); |
| 62 | |
| 63 | function getCheckedFunction(fn) { |
| 64 | return hideStackFrames(function checkError() { |
| 65 | const ctx = {}; |
| 66 | const ret = fn(ctx); |
| 67 | if (ret === undefined) { |
| 68 | throw new ERR_SYSTEM_ERROR.HideStackFramesError(ctx); |
| 69 | } |
| 70 | return ret; |
| 71 | }); |
| 72 | } |
| 73 | |
| 74 | const { |
| 75 | 0: type, |
no test coverage detected
searching dependent graphs…