{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/29453571","id":29453571,"diff_hunk":"@@ -833,54 +833,97 @@ Errors\n \n    Throw an ``AssertionError`` if ``cond`` is false. Preferred syntax for writing assertions.\n \n-.. data:: AssertionError\n+.. function:: ArgumentError(msg)\n+\n+   The parameters to a function call do not match a valid signature.\n+\n+.. function:: AssertionError([msg])\n \n    The asserted condition did not evalutate to ``true``.\n \n-.. data:: ArgumentError\n+.. function:: BoundsError([a],[i])\n+\n+   An indexing operation into an array, ``a``, tried to access an out-of-bounds element, ``i``.\n+\n+.. function:: DimensionMismatch([msg])\n+\n+   The objects called do not have matching dimensionality.\n+\n+.. function:: DivideError()\n \n-   The parameters given to a function call are not valid.\n+   Integer division was attempted with a denominator value of 0.\n \n-.. data:: BoundsError\n+.. function:: DomainError()\n \n-   An indexing operation into an array tried to access an out-of-bounds element.\n+   The arguments to a function or constructor are outside the valid domain.\n \n-.. data:: EOFError\n+.. function:: EOFError()\n \n    No more data was available to read from a file or stream.\n \n-.. data:: ErrorException\n+.. function:: ErrorException(msg)\n \n    Generic error type. The error message, in the `.msg` field, may provide more specific details.\n \n-.. data:: KeyError\n+.. function:: InexactError()\n+\n+   Type conversion cannot be done exactly.\n+\n+.. function:: InterruptException()\n+\n+   The process was stopped by a terminal interrupt (CTRL+C).\n+\n+.. function:: KeyError(key)\n \n    An indexing operation into an ``Associative`` (``Dict``) or ``Set`` like object tried to access or delete a non-existent element.\n \n-.. data:: LoadError\n+.. function:: LoadError(file::AbstractString, line::Int, error)\n \n    An error occurred while `including`, `requiring`, or `using` a file. The error specifics should be available in the `.error` field.\n \n-.. data:: MethodError\n+.. function:: MethodError(f, args)\n \n    A method with the required type signature does not exist in the given generic function.\n \n-.. data:: ParseError\n+.. function:: NullException()\n+\n+   An attempted access to a ``Nullable`` with no defined value.\n+\n+.. function:: OutOfMemoryError()\n+\n+   A generated syntax tree was too large for the available memory.","path":"doc/stdlib/base.rst","position":null,"original_position":100,"commit_id":"903a7258a3747a34085192c455f20dd6a1218f0d","original_commit_id":"f4c9b860ac92b397acb87e07a8d49edbf36fad05","user":{"login":"sjkelly","id":2086412,"avatar_url":"https://avatars.githubusercontent.com/u/2086412?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkelly","html_url":"https://github.com/sjkelly","followers_url":"https://api.github.com/users/sjkelly/followers","following_url":"https://api.github.com/users/sjkelly/following{/other_user}","gists_url":"https://api.github.com/users/sjkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkelly/subscriptions","organizations_url":"https://api.github.com/users/sjkelly/orgs","repos_url":"https://api.github.com/users/sjkelly/repos","events_url":"https://api.github.com/users/sjkelly/events{/privacy}","received_events_url":"https://api.github.com/users/sjkelly/received_events","type":"User","site_admin":false},"body":"Thanks, that typo should be fixed now!","created_at":"2015-04-30T17:58:30Z","updated_at":"2015-04-30T17:58:30Z","html_url":"https://github.com/JuliaLang/julia/pull/11009#discussion_r29453571","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11009","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/29453571"},"html":{"href":"https://github.com/JuliaLang/julia/pull/11009#discussion_r29453571"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11009"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11009","id":34112384,"html_url":"https://github.com/JuliaLang/julia/pull/11009","diff_url":"https://github.com/JuliaLang/julia/pull/11009.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11009.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11009","number":11009,"state":"open","locked":false,"title":"Update Error Docs","user":{"login":"sjkelly","id":2086412,"avatar_url":"https://avatars.githubusercontent.com/u/2086412?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkelly","html_url":"https://github.com/sjkelly","followers_url":"https://api.github.com/users/sjkelly/followers","following_url":"https://api.github.com/users/sjkelly/following{/other_user}","gists_url":"https://api.github.com/users/sjkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkelly/subscriptions","organizations_url":"https://api.github.com/users/sjkelly/orgs","repos_url":"https://api.github.com/users/sjkelly/repos","events_url":"https://api.github.com/users/sjkelly/events{/privacy}","received_events_url":"https://api.github.com/users/sjkelly/received_events","type":"User","site_admin":false},"body":"As discussed in #7766, this changes the documentation of subtypes of exceptions from `data` to `function`. It also provides documentation for all exported Exception types, and their corresponding arguments. I tried to provide general explanations for the errors based on how I saw they were being used in `base/` or `src/`.","created_at":"2015-04-25T20:18:10Z","updated_at":"2015-04-30T17:58:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e31ed3fa892505f7a995d9597cc0579f913c211","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11009/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11009/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11009/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/903a7258a3747a34085192c455f20dd6a1218f0d","head":{"label":"sjkelly:sjk/error-docs","ref":"sjk/error-docs","sha":"903a7258a3747a34085192c455f20dd6a1218f0d","user":{"login":"sjkelly","id":2086412,"avatar_url":"https://avatars.githubusercontent.com/u/2086412?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkelly","html_url":"https://github.com/sjkelly","followers_url":"https://api.github.com/users/sjkelly/followers","following_url":"https://api.github.com/users/sjkelly/following{/other_user}","gists_url":"https://api.github.com/users/sjkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkelly/subscriptions","organizations_url":"https://api.github.com/users/sjkelly/orgs","repos_url":"https://api.github.com/users/sjkelly/repos","events_url":"https://api.github.com/users/sjkelly/events{/privacy}","received_events_url":"https://api.github.com/users/sjkelly/received_events","type":"User","site_admin":false},"repo":{"id":20313448,"name":"julia","full_name":"sjkelly/julia","owner":{"login":"sjkelly","id":2086412,"avatar_url":"https://avatars.githubusercontent.com/u/2086412?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkelly","html_url":"https://github.com/sjkelly","followers_url":"https://api.github.com/users/sjkelly/followers","following_url":"https://api.github.com/users/sjkelly/following{/other_user}","gists_url":"https://api.github.com/users/sjkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkelly/subscriptions","organizations_url":"https://api.github.com/users/sjkelly/orgs","repos_url":"https://api.github.com/users/sjkelly/repos","events_url":"https://api.github.com/users/sjkelly/events{/privacy}","received_events_url":"https://api.github.com/users/sjkelly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjkelly/julia","description":"My fork for hacking and notes.","fork":true,"url":"https://api.github.com/repos/sjkelly/julia","forks_url":"https://api.github.com/repos/sjkelly/julia/forks","keys_url":"https://api.github.com/repos/sjkelly/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjkelly/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjkelly/julia/teams","hooks_url":"https://api.github.com/repos/sjkelly/julia/hooks","issue_events_url":"https://api.github.com/repos/sjkelly/julia/issues/events{/number}","events_url":"https://api.github.com/repos/sjkelly/julia/events","assignees_url":"https://api.github.com/repos/sjkelly/julia/assignees{/user}","branches_url":"https://api.github.com/repos/sjkelly/julia/branches{/branch}","tags_url":"https://api.github.com/repos/sjkelly/julia/tags","blobs_url":"https://api.github.com/repos/sjkelly/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjkelly/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjkelly/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjkelly/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjkelly/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/sjkelly/julia/languages","stargazers_url":"https://api.github.com/repos/sjkelly/julia/stargazers","contributors_url":"https://api.github.com/repos/sjkelly/julia/contributors","subscribers_url":"https://api.github.com/repos/sjkelly/julia/subscribers","subscription_url":"https://api.github.com/repos/sjkelly/julia/subscription","commits_url":"https://api.github.com/repos/sjkelly/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjkelly/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjkelly/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjkelly/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjkelly/julia/contents/{+path}","compare_url":"https://api.github.com/repos/sjkelly/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjkelly/julia/merges","archive_url":"https://api.github.com/repos/sjkelly/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjkelly/julia/downloads","issues_url":"https://api.github.com/repos/sjkelly/julia/issues{/number}","pulls_url":"https://api.github.com/repos/sjkelly/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/sjkelly/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/sjkelly/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjkelly/julia/labels{/name}","releases_url":"https://api.github.com/repos/sjkelly/julia/releases{/id}","created_at":"2014-05-30T01:24:13Z","updated_at":"2014-07-14T18:06:33Z","pushed_at":"2015-04-30T17:57:12Z","git_url":"git://github.com/sjkelly/julia.git","ssh_url":"git@github.com:sjkelly/julia.git","clone_url":"https://github.com/sjkelly/julia.git","svn_url":"https://github.com/sjkelly/julia","homepage":"http://julialang.org/","size":66953,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"notetaking_branch"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"dea3d0e42029af05f58a0069491238462382e591","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","created_at":"2011-04-21T07:01:50Z","updated_at":"2015-04-30T16:52:57Z","pushed_at":"2015-04-30T17:57:17Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":197761,"stargazers_count":5432,"watchers_count":5432,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1144,"mirror_url":null,"open_issues_count":1241,"forks":1144,"open_issues":1241,"watchers":5432,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11009"},"html":{"href":"https://github.com/JuliaLang/julia/pull/11009"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/11009"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/11009/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11009/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11009/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/903a7258a3747a34085192c455f20dd6a1218f0d"}}}}