Lines Matching full:exception
29 // 1. If IsCallable(target) is false, throw a TypeError exception. in ReflectApply()
32 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.apply target is not callable", JSTaggedValue::Exception()); in ReflectApply()
59 // 1. If IsConstructor(target) is false, throw a TypeError exception. in ReflectConstruct()
62 …RROR_AND_RETURN(thread, "Reflect.construct target is not constructor", JSTaggedValue::Exception()); in ReflectConstruct()
67 // 3. Else if IsConstructor(newTarget) is false, throw a TypeError exception. in ReflectConstruct()
70 JSTaggedValue::Exception()); in ReflectConstruct()
93 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDefineProperty()
96 …RROR_AND_RETURN(thread, "Reflect.defineProperty target is not object", JSTaggedValue::Exception()); in ReflectDefineProperty()
117 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDeleteProperty()
120 …RROR_AND_RETURN(thread, "Reflect.deleteProperty target is not object", JSTaggedValue::Exception()); in ReflectDeleteProperty()
136 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGet()
139 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.get target is not object", JSTaggedValue::Exception()); in ReflectGet()
162 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGetOwnPropertyDescriptor()
166 JSTaggedValue::Exception()); in ReflectGetOwnPropertyDescriptor()
188 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGetPrototypeOf()
191 …RROR_AND_RETURN(thread, "Reflect.getPrototypeOf target is not object", JSTaggedValue::Exception()); in ReflectGetPrototypeOf()
204 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectHas()
207 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.has target is not object", JSTaggedValue::Exception()); in ReflectHas()
222 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectIsExtensible()
225 …_ERROR_AND_RETURN(thread, "Reflect.isExtensible target is not object", JSTaggedValue::Exception()); in ReflectIsExtensible()
238 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectOwnKeys()
241 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.ownKeys target is not object", JSTaggedValue::Exception()); in ReflectOwnKeys()
258 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectPreventExtensions()
262 JSTaggedValue::Exception()); in ReflectPreventExtensions()
275 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectSet()
278 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.get target is not object", JSTaggedValue::Exception()); in ReflectSet()
301 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectSetPrototypeOf()
304 …RROR_AND_RETURN(thread, "Reflect.setPrototypeOf target is not object", JSTaggedValue::Exception()); in ReflectSetPrototypeOf()
306 // 2. If Type(proto) is not Object and proto is not null, throw a TypeError exception. in ReflectSetPrototypeOf()
310 JSTaggedValue::Exception()); in ReflectSetPrototypeOf()