(err, filename)
| 257 | } |
| 258 | |
| 259 | function throwWriteError(err, filename) { |
| 260 | const msg = `Cannot write snapshot file '${filename}.'`; |
| 261 | const error = new ERR_INVALID_STATE(msg); |
| 262 | error.cause = err; |
| 263 | error.filename = filename; |
| 264 | throw error; |
| 265 | } |
| 266 | |
| 267 | function throwSerializationError(input, err) { |
| 268 | const error = new ERR_INVALID_STATE( |
no outgoing calls
no test coverage detected
searching dependent graphs…