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

Function throwFFIArgCountError

lib/internal/ffi-shared-buffer.js:115–118  ·  view source on GitHub ↗
(expected, actual)

Source from the content-addressed store, hash-verified

113}
114
115function throwFFIArgCountError(expected, actual) {
116 throwFFIArgError(
117 `Invalid argument count: expected ${expected}, got ${actual}`);
118}
119
120// Validation and error messages must mirror `ToFFIArgument` in
121// `src/ffi/types.cc`.

Callers 2

wrapWithSharedBufferFunction · 0.70
buildNumericWrapperFunction · 0.70

Calls 1

throwFFIArgErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…