{"action":"created","issue":{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/233","repository_url":"https://api.github.com/repos/infolab-csail/WikipediaBase","labels_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/233/comments","events_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/233/events","html_url":"https://github.com/infolab-csail/WikipediaBase/pull/233","id":158453575,"number":233,"title":"Improve error handling","user":{"login":"chsamlee","id":4664430,"avatar_url":"https://avatars.githubusercontent.com/u/4664430?v=3","gravatar_id":"","url":"https://api.github.com/users/chsamlee","html_url":"https://github.com/chsamlee","followers_url":"https://api.github.com/users/chsamlee/followers","following_url":"https://api.github.com/users/chsamlee/following{/other_user}","gists_url":"https://api.github.com/users/chsamlee/gists{/gist_id}","starred_url":"https://api.github.com/users/chsamlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chsamlee/subscriptions","organizations_url":"https://api.github.com/users/chsamlee/orgs","repos_url":"https://api.github.com/users/chsamlee/repos","events_url":"https://api.github.com/users/chsamlee/events{/privacy}","received_events_url":"https://api.github.com/users/chsamlee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/labels/code-review","name":"code-review","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-03T20:59:23Z","updated_at":"2016-06-03T21:29:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/pulls/233","html_url":"https://github.com/infolab-csail/WikipediaBase/pull/233","diff_url":"https://github.com/infolab-csail/WikipediaBase/pull/233.diff","patch_url":"https://github.com/infolab-csail/WikipediaBase/pull/233.patch"},"body":"Changes:\r\n- ability to return empty list\r\n- exceptions within Wikipediabase are now raised instead of returned as objects\r\n- all exceptions are properly lispified\r\n- exceptions are raised when:\r\n  - query's parentheses are not balanced (`bad-request-format`, already implemented in v1.3.0)\r\n  - query is empty (`illegal-request`, was `bad-request-format` in v1.3.0)\r\n  - query calls a nonexistent function (`function-not-found`)\r\n  - query calls function with incorrect parameters (`illegal-request`)\r\n  - query asks about a symbol that doesn't exist (`symbol-not-found`)\r\n  - the symbol specified by query does not belong to the given class (`class-not-found`)\r\n  - for `get`, the query does not include `:code` or `:rendered` attribute, or contains illegal value for an option (`illegal-request`)\r\n  - `attribute-not-found`, `attribute-value-not-found`, and `resource-not-found` are same as v1.3.0\r\n- if Wikipediabase encounters an unhandled exception, a `wikipediabase-internal-error` object is returned\r\n\r\nResolves #82 and fixes #204."},"comment":{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/comments/223699326","html_url":"https://github.com/infolab-csail/WikipediaBase/pull/233#issuecomment-223699326","issue_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/233","id":223699326,"user":{"login":"chsamlee","id":4664430,"avatar_url":"https://avatars.githubusercontent.com/u/4664430?v=3","gravatar_id":"","url":"https://api.github.com/users/chsamlee","html_url":"https://github.com/chsamlee","followers_url":"https://api.github.com/users/chsamlee/followers","following_url":"https://api.github.com/users/chsamlee/following{/other_user}","gists_url":"https://api.github.com/users/chsamlee/gists{/gist_id}","starred_url":"https://api.github.com/users/chsamlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chsamlee/subscriptions","organizations_url":"https://api.github.com/users/chsamlee/orgs","repos_url":"https://api.github.com/users/chsamlee/repos","events_url":"https://api.github.com/users/chsamlee/events{/privacy}","received_events_url":"https://api.github.com/users/chsamlee/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T21:29:26Z","updated_at":"2016-06-03T21:29:26Z","body":"Clarification: because we have a `function-not-found` exception, it doesn't make sense to have `illegal-argument` - we already know that something is wrong with the argument."}}
{"actor":{"display_login":"chsamlee"}}