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

Function throwFFIArgError

lib/internal/ffi/fast-api.js:31–36  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

29const kStringConversionBuffer = Symbol('kStringConversionBuffer');
30
31function throwFFIArgError(msg) {
32 // eslint-disable-next-line no-restricted-syntax
33 const err = new TypeError(msg);
34 err.code = 'ERR_INVALID_ARG_VALUE';
35 throw err;
36}
37
38function throwFFIArgCountError(expected, actual) {
39 throwFFIArgError(

Callers 2

throwFFIArgCountErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…