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 d478bc7 commit ec1828cCopy full SHA for ec1828c
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