We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fcad44 commit 2a9c61eCopy full SHA for 2a9c61e
lib/internal/utils.js
@@ -23,6 +23,7 @@ const {custom} = require('./custom');
23
// - MISSING_PLATFORM
24
// - NEUTERED_BUFFER
25
26
+
27
const errors = {
28
// Type Errors
29
INVALID_LIST: 'Transfer list must be undefined, null, or an Array.',
@@ -88,6 +89,11 @@ const errors = {
88
89
'Cannot serialize externalized SharedArrayBuffer'
90
],
91
92
+ INVALID_CONSTRUCTOR: [ // See: https://github.com/nodejs/node/pull/28032
93
+ 'ERR_CONSTRUCT_CALL_INVALID',
94
+ 'Constructor cannot be called'
95
+ ],
96
97
INVALID_OBJECT: [
98
'ERR_INVALID_TRANSFER_OBJECT',
99
'Found invalid object in transferList'
0 commit comments