We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a452f1 commit b3e5c46Copy full SHA for b3e5c46
lib/v8.js
@@ -154,7 +154,7 @@ class DefaultSerializer extends Serializer {
154
i = arrayBufferViewTypeToIndex.get(tag);
155
156
if (i === undefined) {
157
- throw this._getDataCloneError(`Unknown host object type: ${tag}`);
+ throw new this._getDataCloneError(`Unknown host object type: ${tag}`);
158
}
159
160
this.writeUint32(i);
0 commit comments