MCPcopy Create free account
hub / github.com/nodejs/node / throwSerializationError

Function throwSerializationError

lib/internal/test_runner/snapshot.js:267–274  ·  view source on GitHub ↗
(input, err)

Source from the content-addressed store, hash-verified

265}
266
267function throwSerializationError(input, err) {
268 const error = new ERR_INVALID_STATE(
269 'The provided serializers did not generate a string.',
270 );
271 error.input = input;
272 error.cause = err;
273 throw error;
274}
275
276function serializeValue(value, serializers) {
277 let v = value;

Callers 2

serializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected