Lines Matching refs:TypeError

1498   if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
1513 if (!isObject(it)) throw TypeError(it + ' is not an object!');
1607 throw TypeError("Can't convert object to primitive value");
1779 if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1824 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
1888 if (it == undefined) throw TypeError("Can't call method on " + it);
3122 var TypeError = global.TypeError;
3184 reject(TypeError('Promise-chain cycle'));
3270 if (promise === value) throw TypeError("Promise can't be resolved itself");
3425 throw TypeError(name + ': incorrect invocation!');
3460 if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
3715 if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
4265 …if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required…
4413 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
4884 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
4935 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
5441 throw new TypeError('Argument is not a function');
5512 throw new TypeError('size property of a queuing strategy must be a function');
5575 throw new TypeError("Cannot call a class as a function");
5635 return Promise.reject(new TypeError('Cannot abort a stream that already has a writer'));
5713 var error = new TypeError('Requested to abort');
5968 …throw new TypeError('WritableStreamDefaultWriter can only be constructed with a WritableStream ins…
5972 …throw new TypeError('This stream has already been locked for exclusive writing by another writer');
6036 return Promise.reject(new TypeError('cannot close an already-closing stream'));
6130 …return Promise.reject(new TypeError('The stream (in ' + state + ' state) is not in the writable st…
6207 …var releasedError = new TypeError('Writer was released and can no longer be used to monitor the st…
6231 … return Promise.reject(new TypeError('The stream is closing or closed and cannot be written to'));
6249 …throw new TypeError('WritableStreamDefaultController can only be constructed with a WritableStream…
6253 …throw new TypeError('WritableStreamDefaultController instances can only be created by the Writable…
6273 …throw new TypeError('WritableStreamDefaultController.prototype.error can only be used on a Writabl…
6461 …return new TypeError('WritableStream.prototype.' + name + ' can only be used on a WritableStream');
6465 …return new TypeError('WritableStreamDefaultWriter.prototype.' + name + ' can only be used on a Wri…
6469 return new TypeError('Cannot ' + name + ' a stream using a released writer');
6661 throw new TypeError("Cannot call a class as a function");
6742 return Promise.reject(new TypeError('Cannot cancel a stream that already has a reader'));
6793 …return Promise.reject(new TypeError('ReadableStream.prototype.pipeTo\'s first argument must be a W…
6801 …return Promise.reject(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked Re…
6805 …return Promise.reject(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked Wr…
6863 …var destClosed = new TypeError('the destination writable stream closed before all data could be pi…
7318 …throw new TypeError('ReadableStreamDefaultReader can only be constructed with a ReadableStream ins…
7322 …throw new TypeError('This stream has already been locked for exclusive reading by another reader');
7367 …throw new TypeError('Tried to release a reader lock when that reader has pending read() calls un-s…
7391 …throw new TypeError('ReadableStreamBYOBReader can only be constructed with a ReadableStream instan…
7395 …throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with…
7399 …throw new TypeError('This stream has already been locked for exclusive reading by another reader');
7431 return Promise.reject(new TypeError('view must be an array buffer view'));
7435 return Promise.reject(new TypeError('view must have non-zero byteLength'));
7452 …throw new TypeError('Tried to release a reader lock when that reader has pending read() calls un-s…
7522 …defaultReaderClosedPromiseReject(reader, new TypeError('Reader was released and can no longer be u…
7524 …defaultReaderClosedPromiseResetToRejected(reader, new TypeError('Reader was released and can no lo…
7567 …throw new TypeError('ReadableStreamDefaultController can only be constructed with a ReadableStream…
7571 …throw new TypeError('ReadableStreamDefaultController instances can only be created by the Readable…
7606 throw new TypeError('The stream has already been closed; do not close it again!');
7612 …throw new TypeError('The stream (in ' + state + ' state) is not in the readable state and cannot b…
7625 throw new TypeError('stream is closed or draining');
7631 …throw new TypeError('The stream (in ' + state + ' state) is not in the readable state and cannot b…
7646 throw new TypeError('The stream is ' + stream._state + ' and so cannot be errored');
7850 throw new TypeError('This BYOB request has been invalidated');
7863 throw new TypeError('This BYOB request has been invalidated');
7867 throw new TypeError('You can only respond with array buffer views');
7887 …throw new TypeError('ReadableByteStreamController can only be constructed with a ReadableStream in…
7891 …throw new TypeError('ReadableByteStreamController instances can only be created by the ReadableStr…
7936 throw new TypeError('The stream has already been closed; do not close it again!');
7942 …throw new TypeError('The stream (in ' + state + ' state) is not in the readable state and cannot b…
7955 throw new TypeError('stream is closed or draining');
7961 …throw new TypeError('The stream (in ' + state + ' state) is not in the readable state and cannot b…
7965 …throw new TypeError('You can only enqueue array buffer views when using a ReadableByteStreamContro…
7980 throw new TypeError('The stream is ' + stream._state + ' and so cannot be errored');
8299 var e = new TypeError('Insufficient bytes to fill elements in the given buffer');
8359 throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream');
8420 var e = new TypeError('Insufficient bytes to fill elements in the given buffer');
8506 …return new TypeError('ReadableStream.prototype.' + name + ' can only be used on a ReadableStream');
8510 return new TypeError('Cannot ' + name + ' a stream using a released reader');
8514 …return new TypeError('ReadableStreamDefaultReader.prototype.' + name + ' can only be used on a Rea…
8563 …return new TypeError('ReadableStreamBYOBReader.prototype.' + name + ' can only be used on a Readab…
8567 …return new TypeError('ReadableStreamDefaultController.prototype.' + name + ' can only be used on a…
8571 …return new TypeError('ReadableStreamBYOBRequest.prototype.' + name + ' can only be used on a Reada…
8575 …return new TypeError('ReadableByteStreamController.prototype.' + name + ' can only be used on a Re…
8631 throw new TypeError("Cannot call a class as a function");
8657 throw new TypeError('TransformStream is already errored');
8661 throw new TypeError('Readable side is already closed');
8669 throw new TypeError('TransformStream is already errored');
8673 throw new TypeError('Readable side is already closed');
8696 throw new TypeError('TransformStream is already errored');
8839 TransformStreamErrorInternal(transformStream, new TypeError('Writable side aborted'));
8906 TransformStreamErrorInternal(transformStream, new TypeError('Readable side canceled'));
8918 …throw new TypeError('TransformStreamDefaultController can only be ' + 'constructed with a Transfor…
8922 …throw new TypeError('TransformStreamDefaultController instances can ' + 'only be created by the Tr…
9043 …return new TypeError('TransformStreamDefaultController.prototype.' + name + ' can only be used on …
9047 …return new TypeError('TransformStream.prototype.' + name + ' can only be used on a TransformStream…
9810 function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable inst…
9818 function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instanc…
9824 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
12484 context.arg = new TypeError("The iterator does not provide a 'throw' method");
12503 context.arg = new TypeError("iterator result is not an object");
12876 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
13605 …f (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expressio…
13613 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
17176 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
17316 function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable inst…
17332 …f (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expressio…
17336 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
17854 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
18339 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
19494 …f (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expressio…
19498 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
20834 function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instanc…
20842 function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable inst…
20848 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
22604 …f (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expressio…
22612 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
23326 function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable inst…
23543 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…
24235 …nce, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a c…