Lines Matching defs:NewError
604 return NewError("MakeTypeError", type, args);
609 return NewError("$TypeError", message);
615 return NewError("MakeRangeError", type, args);
620 return NewError("$RangeError", message);
625 return NewError("MakeSyntaxError", type, args);
630 return NewError("$SyntaxError", message);
636 return NewError("MakeReferenceError", type, args);
641 return NewError("$ReferenceError", message);
645 Handle<Object> Factory::NewError(const char* maker, const char* type,
653 Handle<Object> result = NewError(maker, type, object);
660 return NewError("MakeEvalError", type, args);
664 Handle<Object> Factory::NewError(const char* type,
666 return NewError("MakeError", type, args);
670 Handle<Object> Factory::NewError(const char* maker,
696 Handle<Object> Factory::NewError(Handle<String> message) {
697 return NewError("$Error", message);
701 Handle<Object> Factory::NewError(const char* constructor,