More closely match SpiderMonkey TypeError messages.