Lines Matching full:exception
28 // 1. If IsCallable(target) is false, throw a TypeError exception. in ReflectApply()
31 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.apply target is not callable", JSTaggedValue::Exception()); in ReflectApply()
54 // 1. If IsConstructor(target) is false, throw a TypeError exception. in ReflectConstruct()
57 …RROR_AND_RETURN(thread, "Reflect.construct target is not constructor", JSTaggedValue::Exception()); in ReflectConstruct()
62 // 3. Else if IsConstructor(newTarget) is false, throw a TypeError exception. in ReflectConstruct()
65 JSTaggedValue::Exception()); in ReflectConstruct()
85 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDefineProperty()
88 …RROR_AND_RETURN(thread, "Reflect.defineProperty target is not object", JSTaggedValue::Exception()); in ReflectDefineProperty()
109 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectDeleteProperty()
112 …RROR_AND_RETURN(thread, "Reflect.deleteProperty target is not object", JSTaggedValue::Exception()); in ReflectDeleteProperty()
128 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGet()
131 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.get target is not object", JSTaggedValue::Exception()); in ReflectGet()
154 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGetOwnPropertyDescriptor()
158 JSTaggedValue::Exception()); in ReflectGetOwnPropertyDescriptor()
180 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectGetPrototypeOf()
183 …RROR_AND_RETURN(thread, "Reflect.getPrototypeOf target is not object", JSTaggedValue::Exception()); in ReflectGetPrototypeOf()
197 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectHas()
200 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.has target is not object", JSTaggedValue::Exception()); in ReflectHas()
215 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectIsExtensible()
218 …_ERROR_AND_RETURN(thread, "Reflect.isExtensible target is not object", JSTaggedValue::Exception()); in ReflectIsExtensible()
231 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectOwnKeys()
234 …_TYPE_ERROR_AND_RETURN(thread, "Reflect.ownKeys target is not object", JSTaggedValue::Exception()); in ReflectOwnKeys()
251 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectPreventExtensions()
255 JSTaggedValue::Exception()); in ReflectPreventExtensions()
268 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectSet()
271 …HROW_TYPE_ERROR_AND_RETURN(thread, "Reflect.get target is not object", JSTaggedValue::Exception()); in ReflectSet()
294 // 1. If Type(target) is not Object, throw a TypeError exception. in ReflectSetPrototypeOf()
297 …RROR_AND_RETURN(thread, "Reflect.setPrototypeOf target is not object", JSTaggedValue::Exception()); in ReflectSetPrototypeOf()
299 // 2. If Type(proto) is not Object and proto is not null, throw a TypeError exception. in ReflectSetPrototypeOf()
303 JSTaggedValue::Exception()); in ReflectSetPrototypeOf()