Lines Matching full:newerror
811 return NewError("MakeTypeError", message, args);
816 return NewError("$TypeError", message);
822 return NewError("MakeRangeError", message, args);
827 return NewError("$RangeError", message);
833 return NewError("MakeSyntaxError", message, args);
838 return NewError("$SyntaxError", message);
844 return NewError("MakeReferenceError", message, args);
849 return NewError("$ReferenceError", message);
853 Handle<Object> Factory::NewError(const char* maker,
863 Handle<Object> result = NewError(maker, message, object);
870 return NewError("MakeEvalError", message, args);
874 Handle<Object> Factory::NewError(const char* message,
876 return NewError("MakeError", message, args);
917 Handle<Object> Factory::NewError(const char* maker,
945 Handle<Object> Factory::NewError(Handle<String> message) {
946 return NewError("$Error", message);
950 Handle<Object> Factory::NewError(const char* constructor,