• Home
  • Raw
  • Download

Lines Matching full:exception

37     // 1.If NewTarget is not undefined, throw a TypeError exception.  in SymbolConstructor()
42 JSTaggedValue::Exception()); in SymbolConstructor()
53 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, JSTaggedValue::Exception()); in SymbolConstructor()
74 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ToString()
75 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: no [[SymbolData]]", JSTaggedValue::Exception()); in ToString()
82 // If Type(s) is not Object, throw a TypeError exception. in ToString()
83 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToString: s is not Object", JSTaggedValue::Exception()); in ToString()
133 // If Type(s) is not Object, throw a TypeError exception. in ValueOf()
136 THROW_TYPE_ERROR_AND_RETURN(thread, "ValueOf: s is not Object", JSTaggedValue::Exception()); in ValueOf()
138 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ValueOf()
140 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ValueOf()
141 … THROW_TYPE_ERROR_AND_RETURN(thread, "ValueOf: no [[SymbolData]]", JSTaggedValue::Exception()); in ValueOf()
160 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, JSTaggedValue::Exception()); in For()
180 // 1.If Type(sym) is not Symbol, throw a TypeError exception. in KeyFor()
184 … THROW_TYPE_ERROR_AND_RETURN(thread, "KeyFor: sym is not Symbol", JSTaggedValue::Exception()); in KeyFor()
213 // 3.If Type(s) is not Object, throw a TypeError exception. in ToPrimitive()
216 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToPrimitive: s is not Object", JSTaggedValue::Exception()); in ToPrimitive()
219 // 4.If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ToPrimitive()
222 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ToPrimitive()
223 … THROW_TYPE_ERROR_AND_RETURN(thread, "ToPrimitive: no [[SymbolData]]", JSTaggedValue::Exception()); in ToPrimitive()
252 // If s does not have a [[SymbolData]] internal slot, throw a TypeError exception. in ThisSymbolValue()
261 THROW_TYPE_ERROR_AND_RETURN(thread, "can not convert to Symbol", JSTaggedValue::Exception()); in ThisSymbolValue()