MCPcopy Index your code
hub / github.com/nodejs/node / throwWriteError

Function throwWriteError

lib/internal/test_runner/snapshot.js:259–265  ·  view source on GitHub ↗
(err, filename)

Source from the content-addressed store, hash-verified

257}
258
259function 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
267function throwSerializationError(input, err) {
268 const error = new ERR_INVALID_STATE(

Callers 2

writeFileMethod · 0.85
createFileAssertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…