diff options
Diffstat (limited to 'deps/v8/src/messages.h')
-rw-r--r-- | deps/v8/src/messages.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/deps/v8/src/messages.h b/deps/v8/src/messages.h index 68078bb3736..030fc0b9260 100644 --- a/deps/v8/src/messages.h +++ b/deps/v8/src/messages.h @@ -263,6 +263,7 @@ class ErrorUtils : public AllStatic { T(Unsupported, "Not supported") \ T(WrongServiceType, "Internal error, wrong service type: %") \ T(WrongValueType, "Internal error. Wrong value type.") \ + T(IcuError, "Internal error. Icu error.") \ /* TypeError */ \ T(ApplyNonFunction, \ "Function.prototype.apply was called on %, which is a % and not a " \ @@ -273,6 +274,7 @@ class ErrorUtils : public AllStatic { "Derived ArrayBuffer constructor created a buffer which was too small") \ T(ArrayBufferSpeciesThis, \ "ArrayBuffer subclass returned this from species constructor") \ + T(ArrayItemNotType, "array %[%] is not type %") \ T(AwaitNotInAsyncFunction, "await is only valid in async function") \ T(AtomicsWaitNotAllowed, "Atomics.wait cannot be called in this context") \ T(BadSortComparisonFunction, \ @@ -345,6 +347,7 @@ class ErrorUtils : public AllStatic { T(LocaleNotEmpty, \ "First argument to Intl.Locale constructor can't be empty or missing") \ T(LocaleBadParameters, "Incorrect locale information provided") \ + T(ListFormatBadParameters, "Incorrect ListFormat information provided") \ T(MapperFunctionNonCallable, "flatMap mapper function is not callable") \ T(MethodCalledOnWrongObject, \ "Method % called on a non-object or on a wrong type of object.") \ @@ -372,6 +375,7 @@ class ErrorUtils : public AllStatic { "% is not a function or its return value is not iterable") \ T(NotCallableOrAsyncIterable, \ "% is not a function or its return value is not async iterable") \ + T(NotFiniteNumber, "Value need to be finite number for %()") \ T(NotIterable, "% is not iterable") \ T(NotAsyncIterable, "% is not async iterable") \ T(NotPropertyName, "% is not a valid property name") \ @@ -531,8 +535,6 @@ class ErrorUtils : public AllStatic { T(BigIntNegativeExponent, "Exponent must be positive") \ T(BigIntTooBig, "Maximum BigInt size exceeded") \ T(DateRange, "Provided date is not in valid range.") \ - T(ExpectedTimezoneID, \ - "Expected Area/Location(/Location)* for time zone, got %") \ T(ExpectedLocation, \ "Expected letters optionally connected with underscores or hyphens for " \ "a location, got %") \ @@ -554,6 +556,7 @@ class ErrorUtils : public AllStatic { T(InvalidWeakSetValue, "Invalid value used in weak set") \ T(InvalidStringLength, "Invalid string length") \ T(InvalidTimeValue, "Invalid time value") \ + T(InvalidTimeZone, "Invalid time zone specified: %") \ T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ T(InvalidTypedArrayIndex, "Invalid typed array index") \ T(InvalidTypedArrayLength, "Invalid typed array length: %") \ @@ -574,7 +577,6 @@ class ErrorUtils : public AllStatic { T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ T(TypedArraySetOffsetOutOfBounds, "offset is out of bounds") \ T(TypedArraySetSourceTooLarge, "Source is too large") \ - T(UnsupportedTimeZone, "Unsupported time zone specified %") \ T(ValueOutOfRange, "Value % out of range for % options property %") \ /* SyntaxError */ \ T(AmbiguousExport, \ @@ -733,6 +735,7 @@ class ErrorUtils : public AllStatic { /* Wasm errors (currently Error) */ \ T(WasmTrapUnreachable, "unreachable") \ T(WasmTrapMemOutOfBounds, "memory access out of bounds") \ + T(WasmTrapUnalignedAccess, "operation does not support unaligned accesses") \ T(WasmTrapDivByZero, "divide by zero") \ T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \ T(WasmTrapRemByZero, "remainder by zero") \ @@ -777,7 +780,7 @@ class MessageTemplate { static const char* TemplateString(int template_index); - static MaybeHandle<String> FormatMessage(int template_index, + static MaybeHandle<String> FormatMessage(Isolate* isolate, int template_index, Handle<String> arg0, Handle<String> arg1, Handle<String> arg2); |