Lines Matching refs:T
254 #define MESSAGE_TEMPLATES(T) \ argument
256 T(None, "") \
257 T(CyclicProto, "Cyclic __proto__ value") \
258 T(Debugger, "Debugger: %") \
259 T(DebuggerLoading, "Error loading debugger") \
260 T(DefaultOptionsMissing, "Internal % error. Default options are missing.") \
261 T(DeletePrivateField, "Private fields can not be deleted") \
262 T(UncaughtException, "Uncaught %") \
263 T(Unsupported, "Not supported") \
264 T(WrongServiceType, "Internal error, wrong service type: %") \
265 T(WrongValueType, "Internal error. Wrong value type.") \
266 T(IcuError, "Internal error. Icu error.") \
268 T(ApplyNonFunction, \
271 T(ArgumentsDisallowedInInitializer, \
273 T(ArrayBufferTooShort, \
275 T(ArrayBufferSpeciesThis, \
277 T(ArrayItemNotType, "array %[%] is not type %") \
278 T(AwaitNotInAsyncFunction, "await is only valid in async function") \
279 T(AtomicsWaitNotAllowed, "Atomics.wait cannot be called in this context") \
280 T(BadSortComparisonFunction, \
282 T(BigIntFromNumber, \
285 T(BigIntFromObject, "Cannot convert % to a BigInt") \
286 T(BigIntMixedTypes, \
288 T(BigIntSerializeJSON, "Do not know how to serialize a BigInt") \
289 T(BigIntShr, "BigInts have no unsigned right shift, use >> instead") \
290 T(BigIntToNumber, "Cannot convert a BigInt value to a number") \
291 T(CalledNonCallable, "% is not a function") \
292 T(CalledOnNonObject, "% called on non-object") \
293 T(CalledOnNullOrUndefined, "% called on null or undefined") \
294 T(CallSiteExpectsFunction, \
297 T(CallSiteMethod, "CallSite method % expects CallSite as receiver") \
298 T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
299 T(CannotPreventExt, "Cannot prevent extensions") \
300 T(CannotFreeze, "Cannot freeze") \
301 T(CannotFreezeArrayBufferView, \
303 T(CannotSeal, "Cannot seal") \
304 T(CircularStructure, "Converting circular structure to JSON") \
305 T(ConstructAbstractClass, "Abstract class % not directly constructable") \
306 T(ConstAssign, "Assignment to constant variable.") \
307 T(ConstructorClassField, "Classes may not have a field named 'constructor'") \
308 T(ConstructorNonCallable, \
310 T(ConstructorNotFunction, "Constructor % requires 'new'") \
311 T(ConstructorNotReceiver, "The .constructor property is not an object") \
312 T(CurrencyCode, "Currency code is required with currency style.") \
313 T(CyclicModuleDependency, "Detected cycle while resolving name '%' in '%'") \
314 T(DataViewNotArrayBuffer, \
316 T(DateType, "this is not a Date object.") \
317 T(DebuggerFrame, "Debugger: Invalid frame index.") \
318 T(DebuggerType, "Debugger: Parameters have wrong types.") \
319 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \
320 T(DefineDisallowed, "Cannot define property %, object is not extensible") \
321 T(DetachedOperation, "Cannot perform % on a detached ArrayBuffer") \
322 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \
323 T(ExtendsValueNotConstructor, \
325 T(FirstArgumentNotRegExp, \
327 T(FunctionBind, "Bind must be called on a function") \
328 T(GeneratorRunning, "Generator is already running") \
329 T(IllegalInvocation, "Illegal invocation") \
330 T(ImmutablePrototypeSet, \
332 T(ImportCallNotNewExpression, "Cannot use new with import") \
333 T(ImportMetaOutsideModule, "Cannot use 'import.meta' outside a module") \
334 T(ImportMissingSpecifier, "import() requires a specifier") \
335 T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
336 T(InstanceofNonobjectProto, \
338 T(InvalidArgument, "invalid_argument") \
339 T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
340 T(InvalidRegExpExecResult, \
342 T(InvalidUnit, "Invalid unit argument for %() '%'") \
343 T(IteratorResultNotAnObject, "Iterator result % is not an object") \
344 T(IteratorSymbolNonCallable, "Found non-callable @@iterator") \
345 T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \
346 T(LanguageID, "Language ID should be string or object.") \
347 T(LocaleNotEmpty, \
349 T(LocaleBadParameters, "Incorrect locale information provided") \
350 T(ListFormatBadParameters, "Incorrect ListFormat information provided") \
351 T(MapperFunctionNonCallable, "flatMap mapper function is not callable") \
352 T(MethodCalledOnWrongObject, \
354 T(MethodInvokedOnNullOrUndefined, \
356 T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \
357 T(NoAccess, "no access") \
358 T(NonCallableInInstanceOfCheck, \
360 T(NonCoercible, "Cannot destructure 'undefined' or 'null'.") \
361 T(NonCoercibleWithProperty, \
363 T(NonExtensibleProto, "% is not extensible") \
364 T(NonObjectInInstanceOfCheck, \
366 T(NonObjectPropertyLoad, "Cannot read property '%' of %") \
367 T(NonObjectPropertyStore, "Cannot set property '%' of %") \
368 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \
369 T(NotAnIterator, "% is not an iterator") \
370 T(NotAPromise, "% is not a promise") \
371 T(NotConstructor, "% is not a constructor") \
372 T(NotDateObject, "this is not a Date object.") \
373 T(NotGeneric, "% requires that 'this' be a %") \
374 T(NotCallableOrIterable, \
376 T(NotCallableOrAsyncIterable, \
378 T(NotFiniteNumber, "Value need to be finite number for %()") \
379 T(NotIterable, "% is not iterable") \
380 T(NotAsyncIterable, "% is not async iterable") \
381 T(NotPropertyName, "% is not a valid property name") \
382 T(NotTypedArray, "this is not a typed array.") \
383 T(NotSuperConstructor, "Super constructor % of % is not a constructor") \
384 T(NotSuperConstructorAnonymousClass, \
386 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \
387 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \
388 T(ObjectGetterExpectingFunction, \
390 T(ObjectGetterCallable, "Getter must be a function: %") \
391 T(ObjectNotExtensible, "Cannot add property %, object is not extensible") \
392 T(ObjectSetterExpectingFunction, \
394 T(ObjectSetterCallable, "Setter must be a function: %") \
395 T(OrdinaryFunctionCalledAsConstructor, \
397 T(PromiseCyclic, "Chaining cycle detected for promise %") \
398 T(PromiseExecutorAlreadyInvoked, \
400 T(PromiseNonCallable, "Promise resolve or reject function is not callable") \
401 T(PropertyDescObject, "Property description must be an object: %") \
402 T(PropertyNotFunction, \
404 T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \
405 T(PrototypeParentNotAnObject, \
407 T(ProxyConstructNonObject, \
409 T(ProxyDefinePropertyNonConfigurable, \
413 T(ProxyDefinePropertyNonExtensible, \
416 T(ProxyDefinePropertyIncompatible, \
419 T(ProxyDeletePropertyNonConfigurable, \
422 T(ProxyGetNonConfigurableData, \
426 T(ProxyGetNonConfigurableAccessor, \
430 T(ProxyGetOwnPropertyDescriptorIncompatible, \
434 T(ProxyGetOwnPropertyDescriptorInvalid, \
437 T(ProxyGetOwnPropertyDescriptorNonConfigurable, \
441 T(ProxyGetOwnPropertyDescriptorNonExtensible, \
444 T(ProxyGetOwnPropertyDescriptorUndefined, \
447 T(ProxyGetPrototypeOfInvalid, \
449 T(ProxyGetPrototypeOfNonExtensible, \
452 T(ProxyHandlerOrTargetRevoked, \
454 T(ProxyHasNonConfigurable, \
457 T(ProxyHasNonExtensible, \
460 T(ProxyIsExtensibleInconsistent, \
463 T(ProxyNonObject, \
465 T(ProxyOwnKeysMissing, \
467 T(ProxyOwnKeysNonExtensible, \
470 T(ProxyPreventExtensionsExtensible, \
473 T(ProxyPrivate, "Cannot pass private property name to proxy trap") \
474 T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \
475 T(ProxySetFrozenData, \
479 T(ProxySetFrozenAccessor, \
483 T(ProxySetPrototypeOfNonExtensible, \
486 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \
487 T(ProxyTrapReturnedFalsishFor, \
489 T(RedefineDisallowed, "Cannot redefine property: %") \
490 T(RedefineExternalArray, \
492 T(ReduceNoInitial, "Reduce of empty array with no initial value") \
493 T(RegExpFlags, \
495 T(RegExpNonObject, "% getter called on non-object %") \
496 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
497 T(RelativeDateTimeFormatterBadParameters, \
499 T(ResolverNotAFunction, "Promise resolver % is not a function") \
500 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \
501 T(SharedArrayBufferTooShort, \
504 T(SharedArrayBufferSpeciesThis, \
506 T(StaticPrototype, \
508 T(StrictDeleteProperty, "Cannot delete property '%' of %") \
509 T(StrictPoisonPill, \
512 T(StrictReadOnlyProperty, \
514 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \
515 T(SymbolIteratorInvalid, \
517 T(SymbolAsyncIteratorInvalid, \
519 T(SymbolKeyFor, "% is not a symbol") \
520 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
521 T(SymbolToString, "Cannot convert a Symbol value to a string") \
522 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \
523 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
524 T(ValueAndAccessor, \
527 T(VarRedeclaration, "Identifier '%' has already been declared") \
528 T(WrongArgs, "%: Arguments list has wrong type") \
530 T(NotDefined, "% is not defined") \
531 T(SuperAlreadyCalled, "Super constructor may only be called once") \
532 T(UnsupportedSuper, "Unsupported reference to 'super'") \
534 T(BigIntDivZero, "Division by zero") \
535 T(BigIntNegativeExponent, "Exponent must be positive") \
536 T(BigIntTooBig, "Maximum BigInt size exceeded") \
537 T(DateRange, "Provided date is not in valid range.") \
538 T(ExpectedLocation, \
541 T(InvalidArrayBufferLength, "Invalid array buffer length") \
542 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \
543 T(InvalidArrayLength, "Invalid array length") \
544 T(InvalidAtomicAccessIndex, "Invalid atomic access index") \
545 T(InvalidCodePoint, "Invalid code point %") \
546 T(InvalidCountValue, "Invalid count value") \
547 T(InvalidCurrencyCode, "Invalid currency code: %") \
548 T(InvalidDataViewAccessorOffset, \
550 T(InvalidDataViewLength, "Invalid DataView length %") \
551 T(InvalidOffset, "Start offset % is outside the bounds of the buffer") \
552 T(InvalidHint, "Invalid hint: %") \
553 T(InvalidIndex, "Invalid value: not (convertible to) a safe integer") \
554 T(InvalidLanguageTag, "Invalid language tag: %") \
555 T(InvalidWeakMapKey, "Invalid value used as weak map key") \
556 T(InvalidWeakSetValue, "Invalid value used in weak set") \
557 T(InvalidStringLength, "Invalid string length") \
558 T(InvalidTimeValue, "Invalid time value") \
559 T(InvalidTimeZone, "Invalid time zone specified: %") \
560 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
561 T(InvalidTypedArrayIndex, "Invalid typed array index") \
562 T(InvalidTypedArrayLength, "Invalid typed array length: %") \
563 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \
564 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
565 T(NormalizationForm, "The normalization form should be one of %.") \
566 T(ZeroDigitNumericSeparator, \
568 T(NumberFormatRange, "% argument must be between 0 and 100") \
569 T(TrailingNumericSeparator, \
571 T(ContinuousNumericSeparator, \
573 T(PropertyValueOutOfRange, "% value is out of range.") \
574 T(StackOverflow, "Maximum call stack size exceeded") \
575 T(ToPrecisionFormatRange, \
577 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
578 T(TypedArraySetOffsetOutOfBounds, "offset is out of bounds") \
579 T(TypedArraySetSourceTooLarge, "Source is too large") \
580 T(ValueOutOfRange, "Value % out of range for % options property %") \
582 T(AmbiguousExport, \
584 T(BadGetterArity, "Getter must not have any formal parameters.") \
585 T(BadSetterArity, "Setter must have exactly one formal parameter.") \
586 T(BigIntInvalidString, "Invalid BigInt string") \
587 T(ConstructorIsAccessor, "Class constructor may not be an accessor") \
588 T(ConstructorIsGenerator, "Class constructor may not be a generator") \
589 T(ConstructorIsAsync, "Class constructor may not be an async method") \
590 T(DerivedConstructorReturnedNonObject, \
592 T(DuplicateConstructor, "A class may only have one constructor") \
593 T(DuplicateExport, "Duplicate export of '%'") \
594 T(DuplicateProto, \
596 T(ForInOfLoopInitializer, \
598 T(ForInOfLoopMultiBindings, \
600 T(GeneratorInSingleStatementContext, \
602 T(AsyncFunctionInSingleStatementContext, \
605 T(IllegalBreak, "Illegal break statement") \
606 T(NoIterationStatement, \
608 T(IllegalContinue, \
610 T(IllegalLanguageModeDirective, \
612 T(IllegalReturn, "Illegal return statement") \
613 T(IntrinsicWithSpread, "Intrinsic calls do not support spread arguments") \
614 T(InvalidRestBindingPattern, \
616 T(InvalidRestAssignmentPattern, \
619 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \
620 T(InvalidEscapedMetaProperty, "'%' must not contain escaped characters") \
621 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \
622 T(InvalidCoverInitializedName, "Invalid shorthand property initializer") \
623 T(InvalidDestructuringTarget, "Invalid destructuring assignment target") \
624 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \
625 T(InvalidLhsInPostfixOp, \
627 T(InvalidLhsInPrefixOp, \
629 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \
630 T(InvalidOrUnexpectedToken, "Invalid or unexpected token") \
631 T(InvalidPrivateFieldAccess, "Invalid private field '%'") \
632 T(JsonParseUnexpectedEOS, "Unexpected end of JSON input") \
633 T(JsonParseUnexpectedToken, "Unexpected token % in JSON at position %") \
634 T(JsonParseUnexpectedTokenNumber, "Unexpected number in JSON at position %") \
635 T(JsonParseUnexpectedTokenString, "Unexpected string in JSON at position %") \
636 T(LabelRedeclaration, "Label '%' has already been declared") \
637 T(LabelledFunctionDeclaration, \
640 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \
641 T(MalformedRegExp, "Invalid regular expression: /%/: %") \
642 T(MalformedRegExpFlags, "Invalid regular expression flags") \
643 T(ModuleExportUndefined, "Export '%' is not defined in module") \
644 T(HtmlCommentInModule, "HTML comments are not allowed in modules") \
645 T(MultipleDefaultsInSwitch, \
647 T(NewlineAfterThrow, "Illegal newline after throw") \
648 T(NoCatchOrFinally, "Missing catch or finally after try") \
649 T(NotIsvar, "builtin %%IS_VAR: not a variable") \
650 T(ParamAfterRest, "Rest parameter must be last formal parameter") \
651 T(FlattenPastSafeLength, \
654 T(PushPastSafeLength, \
657 T(ElementAfterRest, "Rest element must be last element") \
658 T(BadSetterRestParameter, \
660 T(ParamDupe, "Duplicate parameter name not allowed in this context") \
661 T(ParenthesisInArgString, "Function arg string contains parenthesis") \
662 T(ArgStringTerminatesParametersEarly, \
664 T(UnexpectedEndOfArgString, "Unexpected end of arg string") \
665 T(RestDefaultInitializer, \
667 T(RuntimeWrongNumArgs, "Runtime function given wrong number of arguments") \
668 T(SuperNotCalled, \
671 T(SingleFunctionLiteral, "Single function literal required") \
672 T(SloppyFunction, \
675 T(SpeciesNotConstructor, \
677 T(StrictDelete, "Delete of an unqualified identifier in strict mode.") \
678 T(StrictEvalArguments, "Unexpected eval or arguments in strict mode") \
679 T(StrictFunction, \
682 T(StrictOctalLiteral, "Octal literals are not allowed in strict mode.") \
683 T(StrictDecimalWithLeadingZero, \
685 T(StrictOctalEscape, \
687 T(StrictWith, "Strict mode code may not include a with statement") \
688 T(TemplateOctalLiteral, \
690 T(ThisFormalParameter, "'this' is not a valid formal parameter name") \
691 T(AwaitBindingIdentifier, \
693 T(AwaitExpressionFormalParameter, \
695 T(TooManyArguments, \
697 T(TooManyParameters, \
699 T(TooManySpreads, \
701 T(TooManyVariables, "Too many variables declared (only 4194303 allowed)") \
702 T(TooManyElementsInPromiseAll, "Too many elements passed to Promise.all") \
703 T(TypedArrayTooShort, \
705 T(UnexpectedEOS, "Unexpected end of input") \
706 T(UnexpectedReserved, "Unexpected reserved word") \
707 T(UnexpectedStrictReserved, "Unexpected strict mode reserved word") \
708 T(UnexpectedSuper, "'super' keyword unexpected here") \
709 T(UnexpectedNewTarget, "new.target expression is not allowed here") \
710 T(UnexpectedTemplateString, "Unexpected template string") \
711 T(UnexpectedToken, "Unexpected token %") \
712 T(UnexpectedTokenIdentifier, "Unexpected identifier") \
713 T(UnexpectedTokenNumber, "Unexpected number") \
714 T(UnexpectedTokenString, "Unexpected string") \
715 T(UnexpectedTokenRegExp, "Unexpected regular expression") \
716 T(UnexpectedLexicalDeclaration, \
718 T(UnknownLabel, "Undefined label '%'") \
719 T(UnresolvableExport, \
721 T(UnterminatedArgList, "missing ) after argument list") \
722 T(UnterminatedRegExp, "Invalid regular expression: missing /") \
723 T(UnterminatedTemplate, "Unterminated template literal") \
724 T(UnterminatedTemplateExpr, "Missing } in template expression") \
725 T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \
726 T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \
727 T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \
728 T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \
729 T(YieldInParameter, "Yield expression not allowed in formal parameter") \
731 T(CodeGenFromStrings, "%") \
732 T(NoSideEffectDebugEvaluate, "Possible side-effect in debug-evaluate") \
734 T(URIMalformed, "URI malformed") \
736 T(WasmTrapUnreachable, "unreachable") \
737 T(WasmTrapMemOutOfBounds, "memory access out of bounds") \
738 T(WasmTrapUnalignedAccess, "operation does not support unaligned accesses") \
739 T(WasmTrapDivByZero, "divide by zero") \
740 T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \
741 T(WasmTrapRemByZero, "remainder by zero") \
742 T(WasmTrapFloatUnrepresentable, "float unrepresentable in integer range") \
743 T(WasmTrapFuncInvalid, "invalid index into function table") \
744 T(WasmTrapFuncSigMismatch, "function signature mismatch") \
745 T(WasmTrapTypeError, "wasm function signature contains illegal type") \
746 T(WasmExceptionError, "wasm exception") \
748 T(AsmJsInvalid, "Invalid asm.js: %") \
749 T(AsmJsCompiled, "Converted asm.js to WebAssembly: %") \
750 T(AsmJsInstantiated, "Instantiated asm.js: %") \
751 T(AsmJsLinkingFailed, "Linking failure in asm.js: %") \
753 T(DataCloneError, "% could not be cloned.") \
754 T(DataCloneErrorOutOfMemory, "Data cannot be cloned, out of memory.") \
755 T(DataCloneErrorNeuteredArrayBuffer, \
757 T(DataCloneErrorSharedArrayBufferTransferred, \
760 T(DataCloneDeserializationError, "Unable to deserialize cloned data.") \
761 T(DataCloneDeserializationVersionError, \
765 T(TraceEventCategoryError, "Trace event category must be a string.") \
766 T(TraceEventNameError, "Trace event name must be a string.") \
767 T(TraceEventNameLengthError, \
769 T(TraceEventPhaseError, "Trace event phase must be a number.") \
770 T(TraceEventIDError, "Trace event id must be a number.")