{"action":"created","comment":{"url":"https://api.github.com/repos/iojs/io.js/pulls/comments/26788340","id":26788340,"diff_hunk":"@@ -47,16 +47,16 @@ function alloc(n, obj, type) {\n     type = obj >>> 0;\n     obj = {};\n   } else if (util.isPrimitive(obj)) {\n-    throw new TypeError('obj must be an Object');\n+    throw new TypeError('\"obj\" argument must be an object');\n   }\n \n   // 1 == v8::kExternalUint8Array, 9 == v8::kExternalUint8ClampedArray\n   if (type < 1 || type > 9)\n-    throw new TypeError('unknown external array type: ' + type);\n+    throw new TypeError('Unknown external array type: ' + type);\n   if (Array.isArray(obj))\n     throw new TypeError('Arrays are not supported');\n   if (n > kMaxLength)\n-    throw new RangeError('n > kMaxLength');\n+    throw new RangeError('\"n\" should be lesser than \"kMaxLength\"');","path":"lib/smalloc.js","position":16,"original_position":16,"commit_id":"ed2f6e76ebeeddefaa099970d56ead132e530d38","original_commit_id":"ed2f6e76ebeeddefaa099970d56ead132e530d38","user":{"login":"KenanY","id":733364,"avatar_url":"https://avatars.githubusercontent.com/u/733364?v=3","gravatar_id":"","url":"https://api.github.com/users/KenanY","html_url":"https://github.com/KenanY","followers_url":"https://api.github.com/users/KenanY/followers","following_url":"https://api.github.com/users/KenanY/following{/other_user}","gists_url":"https://api.github.com/users/KenanY/gists{/gist_id}","starred_url":"https://api.github.com/users/KenanY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenanY/subscriptions","organizations_url":"https://api.github.com/users/KenanY/orgs","repos_url":"https://api.github.com/users/KenanY/repos","events_url":"https://api.github.com/users/KenanY/events{/privacy}","received_events_url":"https://api.github.com/users/KenanY/received_events","type":"User","site_admin":false},"body":"\"less than or equal to\"?","created_at":"2015-03-19T19:20:10Z","updated_at":"2015-03-19T19:20:10Z","html_url":"https://github.com/iojs/io.js/pull/892#discussion_r26788340","pull_request_url":"https://api.github.com/repos/iojs/io.js/pulls/892","_links":{"self":{"href":"https://api.github.com/repos/iojs/io.js/pulls/comments/26788340"},"html":{"href":"https://github.com/iojs/io.js/pull/892#discussion_r26788340"},"pull_request":{"href":"https://api.github.com/repos/iojs/io.js/pulls/892"}}},"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/892","id":29622119,"html_url":"https://github.com/iojs/io.js/pull/892","diff_url":"https://github.com/iojs/io.js/pull/892.diff","patch_url":"https://github.com/iojs/io.js/pull/892.patch","issue_url":"https://api.github.com/repos/iojs/io.js/issues/892","number":892,"state":"open","locked":false,"title":"Consistent error messages in all modules","user":{"login":"micnic","id":1449826,"avatar_url":"https://avatars.githubusercontent.com/u/1449826?v=3","gravatar_id":"","url":"https://api.github.com/users/micnic","html_url":"https://github.com/micnic","followers_url":"https://api.github.com/users/micnic/followers","following_url":"https://api.github.com/users/micnic/following{/other_user}","gists_url":"https://api.github.com/users/micnic/gists{/gist_id}","starred_url":"https://api.github.com/users/micnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnic/subscriptions","organizations_url":"https://api.github.com/users/micnic/orgs","repos_url":"https://api.github.com/users/micnic/repos","events_url":"https://api.github.com/users/micnic/events{/privacy}","received_events_url":"https://api.github.com/users/micnic/received_events","type":"User","site_admin":false},"body":"This commit fixes some error messages that are not consistent with\r\nsome general rules which most of error messages follow.","created_at":"2015-02-19T15:50:07Z","updated_at":"2015-03-19T19:20:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9c20bf180a038f81084d5fb3767651adde4600c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iojs/io.js/pulls/892/commits","review_comments_url":"https://api.github.com/repos/iojs/io.js/pulls/892/comments","review_comment_url":"https://api.github.com/repos/iojs/io.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/892/comments","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/ed2f6e76ebeeddefaa099970d56ead132e530d38","head":{"label":"micnic:v1.x","ref":"v1.x","sha":"ed2f6e76ebeeddefaa099970d56ead132e530d38","user":{"login":"micnic","id":1449826,"avatar_url":"https://avatars.githubusercontent.com/u/1449826?v=3","gravatar_id":"","url":"https://api.github.com/users/micnic","html_url":"https://github.com/micnic","followers_url":"https://api.github.com/users/micnic/followers","following_url":"https://api.github.com/users/micnic/following{/other_user}","gists_url":"https://api.github.com/users/micnic/gists{/gist_id}","starred_url":"https://api.github.com/users/micnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnic/subscriptions","organizations_url":"https://api.github.com/users/micnic/orgs","repos_url":"https://api.github.com/users/micnic/repos","events_url":"https://api.github.com/users/micnic/events{/privacy}","received_events_url":"https://api.github.com/users/micnic/received_events","type":"User","site_admin":false},"repo":{"id":30014729,"name":"io.js","full_name":"micnic/io.js","owner":{"login":"micnic","id":1449826,"avatar_url":"https://avatars.githubusercontent.com/u/1449826?v=3","gravatar_id":"","url":"https://api.github.com/users/micnic","html_url":"https://github.com/micnic","followers_url":"https://api.github.com/users/micnic/followers","following_url":"https://api.github.com/users/micnic/following{/other_user}","gists_url":"https://api.github.com/users/micnic/gists{/gist_id}","starred_url":"https://api.github.com/users/micnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnic/subscriptions","organizations_url":"https://api.github.com/users/micnic/orgs","repos_url":"https://api.github.com/users/micnic/repos","events_url":"https://api.github.com/users/micnic/events{/privacy}","received_events_url":"https://api.github.com/users/micnic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/micnic/io.js","description":"A spork of Node.js with an open governance model","fork":true,"url":"https://api.github.com/repos/micnic/io.js","forks_url":"https://api.github.com/repos/micnic/io.js/forks","keys_url":"https://api.github.com/repos/micnic/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micnic/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micnic/io.js/teams","hooks_url":"https://api.github.com/repos/micnic/io.js/hooks","issue_events_url":"https://api.github.com/repos/micnic/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/micnic/io.js/events","assignees_url":"https://api.github.com/repos/micnic/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/micnic/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/micnic/io.js/tags","blobs_url":"https://api.github.com/repos/micnic/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micnic/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micnic/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/micnic/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micnic/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/micnic/io.js/languages","stargazers_url":"https://api.github.com/repos/micnic/io.js/stargazers","contributors_url":"https://api.github.com/repos/micnic/io.js/contributors","subscribers_url":"https://api.github.com/repos/micnic/io.js/subscribers","subscription_url":"https://api.github.com/repos/micnic/io.js/subscription","commits_url":"https://api.github.com/repos/micnic/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/micnic/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/micnic/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/micnic/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/micnic/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/micnic/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micnic/io.js/merges","archive_url":"https://api.github.com/repos/micnic/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micnic/io.js/downloads","issues_url":"https://api.github.com/repos/micnic/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/micnic/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/micnic/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/micnic/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micnic/io.js/labels{/name}","releases_url":"https://api.github.com/repos/micnic/io.js/releases{/id}","created_at":"2015-01-29T10:10:47Z","updated_at":"2015-02-19T15:48:54Z","pushed_at":"2015-02-19T15:48:54Z","git_url":"git://github.com/micnic/io.js.git","ssh_url":"git@github.com:micnic/io.js.git","clone_url":"https://github.com/micnic/io.js.git","svn_url":"https://github.com/micnic/io.js","homepage":"https://iojs.org","size":119602,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v1.x"}},"base":{"label":"iojs:v1.x","ref":"v1.x","sha":"dd37fb4c48dce8fb11e9f83cbed9018b7119f1d4","user":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"io.js","full_name":"iojs/io.js","owner":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iojs/io.js","description":"A friendly fork of Node.js with an open governance model","fork":false,"url":"https://api.github.com/repos/iojs/io.js","forks_url":"https://api.github.com/repos/iojs/io.js/forks","keys_url":"https://api.github.com/repos/iojs/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iojs/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iojs/io.js/teams","hooks_url":"https://api.github.com/repos/iojs/io.js/hooks","issue_events_url":"https://api.github.com/repos/iojs/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/iojs/io.js/events","assignees_url":"https://api.github.com/repos/iojs/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/iojs/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/iojs/io.js/tags","blobs_url":"https://api.github.com/repos/iojs/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iojs/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iojs/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/iojs/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/iojs/io.js/languages","stargazers_url":"https://api.github.com/repos/iojs/io.js/stargazers","contributors_url":"https://api.github.com/repos/iojs/io.js/contributors","subscribers_url":"https://api.github.com/repos/iojs/io.js/subscribers","subscription_url":"https://api.github.com/repos/iojs/io.js/subscription","commits_url":"https://api.github.com/repos/iojs/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/iojs/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/iojs/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/iojs/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/iojs/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/iojs/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iojs/io.js/merges","archive_url":"https://api.github.com/repos/iojs/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iojs/io.js/downloads","issues_url":"https://api.github.com/repos/iojs/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/iojs/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/iojs/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/iojs/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iojs/io.js/labels{/name}","releases_url":"https://api.github.com/repos/iojs/io.js/releases{/id}","created_at":"2014-11-26T19:57:11Z","updated_at":"2015-03-19T18:28:23Z","pushed_at":"2015-03-19T18:28:35Z","git_url":"git://github.com/iojs/io.js.git","ssh_url":"git@github.com:iojs/io.js.git","clone_url":"https://github.com/iojs/io.js.git","svn_url":"https://github.com/iojs/io.js","homepage":"https://iojs.org","size":162117,"stargazers_count":11166,"watchers_count":11166,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":746,"mirror_url":null,"open_issues_count":202,"forks":746,"open_issues":202,"watchers":11166,"default_branch":"v1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/iojs/io.js/pulls/892"},"html":{"href":"https://github.com/iojs/io.js/pull/892"},"issue":{"href":"https://api.github.com/repos/iojs/io.js/issues/892"},"comments":{"href":"https://api.github.com/repos/iojs/io.js/issues/892/comments"},"review_comments":{"href":"https://api.github.com/repos/iojs/io.js/pulls/892/comments"},"review_comment":{"href":"https://api.github.com/repos/iojs/io.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iojs/io.js/pulls/892/commits"},"statuses":{"href":"https://api.github.com/repos/iojs/io.js/statuses/ed2f6e76ebeeddefaa099970d56ead132e530d38"}}}}