{"action":"created","comment":{"url":"https://api.github.com/repos/hoaproject/Exception/pulls/comments/45505347","id":45505347,"diff_hunk":"@@ -26,7 +29,138 @@ install](http://hoa-project.net/Source.html).\n \n ## Quick usage\n \n-…\n+We propose a quick overview of how to use generic exceptions, how to listen all\n+thrown exceptions through events and how to use group of exceptions.\n+\n+### Generic exceptions\n+\n+An exception is constitued of:\n+  * A message,\n+  * A code (optional),\n+  * A list of arguments for the message (à la `printf`, optional),","path":"README.md","position":25,"original_position":25,"commit_id":"e85c9791c7a52fb13a99b98b975bdcaa68005a1b","original_commit_id":"e85c9791c7a52fb13a99b98b975bdcaa68005a1b","user":{"login":"Metalaka","id":5406767,"avatar_url":"https://avatars.githubusercontent.com/u/5406767?v=3","gravatar_id":"","url":"https://api.github.com/users/Metalaka","html_url":"https://github.com/Metalaka","followers_url":"https://api.github.com/users/Metalaka/followers","following_url":"https://api.github.com/users/Metalaka/following{/other_user}","gists_url":"https://api.github.com/users/Metalaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Metalaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metalaka/subscriptions","organizations_url":"https://api.github.com/users/Metalaka/orgs","repos_url":"https://api.github.com/users/Metalaka/repos","events_url":"https://api.github.com/users/Metalaka/events{/privacy}","received_events_url":"https://api.github.com/users/Metalaka/received_events","type":"User","site_admin":false},"body":"à la française ? ;)","created_at":"2015-11-20T19:08:36Z","updated_at":"2015-11-20T19:08:36Z","html_url":"https://github.com/hoaproject/Exception/pull/2#discussion_r45505347","pull_request_url":"https://api.github.com/repos/hoaproject/Exception/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/comments/45505347"},"html":{"href":"https://github.com/hoaproject/Exception/pull/2#discussion_r45505347"},"pull_request":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/hoaproject/Exception/pulls/2","id":51138478,"html_url":"https://github.com/hoaproject/Exception/pull/2","diff_url":"https://github.com/hoaproject/Exception/pull/2.diff","patch_url":"https://github.com/hoaproject/Exception/pull/2.patch","issue_url":"https://api.github.com/repos/hoaproject/Exception/issues/2","number":2,"state":"closed","locked":false,"title":"README: Add a better description and new usages","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-18T20:36:42Z","updated_at":"2015-11-20T19:08:36Z","closed_at":"2015-11-18T20:37:15Z","merged_at":"2015-11-18T20:37:15Z","merge_commit_sha":"23e32e5e419162c8bc04f0dadb6a1c045f3ab248","assignee":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/hoaproject/Exception/pulls/2/commits","review_comments_url":"https://api.github.com/repos/hoaproject/Exception/pulls/2/comments","review_comment_url":"https://api.github.com/repos/hoaproject/Exception/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hoaproject/Exception/issues/2/comments","statuses_url":"https://api.github.com/repos/hoaproject/Exception/statuses/e85c9791c7a52fb13a99b98b975bdcaa68005a1b","head":{"label":"Hywan:readme","ref":"readme","sha":"e85c9791c7a52fb13a99b98b975bdcaa68005a1b","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"repo":{"id":46330965,"name":"Exception","full_name":"Hywan/Exception","owner":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hywan/Exception","description":"The Hoa\\Exception library.","fork":true,"url":"https://api.github.com/repos/Hywan/Exception","forks_url":"https://api.github.com/repos/Hywan/Exception/forks","keys_url":"https://api.github.com/repos/Hywan/Exception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hywan/Exception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hywan/Exception/teams","hooks_url":"https://api.github.com/repos/Hywan/Exception/hooks","issue_events_url":"https://api.github.com/repos/Hywan/Exception/issues/events{/number}","events_url":"https://api.github.com/repos/Hywan/Exception/events","assignees_url":"https://api.github.com/repos/Hywan/Exception/assignees{/user}","branches_url":"https://api.github.com/repos/Hywan/Exception/branches{/branch}","tags_url":"https://api.github.com/repos/Hywan/Exception/tags","blobs_url":"https://api.github.com/repos/Hywan/Exception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hywan/Exception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hywan/Exception/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hywan/Exception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hywan/Exception/statuses/{sha}","languages_url":"https://api.github.com/repos/Hywan/Exception/languages","stargazers_url":"https://api.github.com/repos/Hywan/Exception/stargazers","contributors_url":"https://api.github.com/repos/Hywan/Exception/contributors","subscribers_url":"https://api.github.com/repos/Hywan/Exception/subscribers","subscription_url":"https://api.github.com/repos/Hywan/Exception/subscription","commits_url":"https://api.github.com/repos/Hywan/Exception/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hywan/Exception/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hywan/Exception/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hywan/Exception/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hywan/Exception/contents/{+path}","compare_url":"https://api.github.com/repos/Hywan/Exception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hywan/Exception/merges","archive_url":"https://api.github.com/repos/Hywan/Exception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hywan/Exception/downloads","issues_url":"https://api.github.com/repos/Hywan/Exception/issues{/number}","pulls_url":"https://api.github.com/repos/Hywan/Exception/pulls{/number}","milestones_url":"https://api.github.com/repos/Hywan/Exception/milestones{/number}","notifications_url":"https://api.github.com/repos/Hywan/Exception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hywan/Exception/labels{/name}","releases_url":"https://api.github.com/repos/Hywan/Exception/releases{/id}","created_at":"2015-11-17T07:40:22Z","updated_at":"2015-11-16T13:49:58Z","pushed_at":"2015-11-18T20:49:13Z","git_url":"git://github.com/Hywan/Exception.git","ssh_url":"git@github.com:Hywan/Exception.git","clone_url":"https://github.com/Hywan/Exception.git","svn_url":"https://github.com/Hywan/Exception","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"hoaproject:master","ref":"master","sha":"43970d9aa976a8bc4a413371e1f24f21b44682c3","user":{"login":"hoaproject","id":1519718,"avatar_url":"https://avatars.githubusercontent.com/u/1519718?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaproject","html_url":"https://github.com/hoaproject","followers_url":"https://api.github.com/users/hoaproject/followers","following_url":"https://api.github.com/users/hoaproject/following{/other_user}","gists_url":"https://api.github.com/users/hoaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaproject/subscriptions","organizations_url":"https://api.github.com/users/hoaproject/orgs","repos_url":"https://api.github.com/users/hoaproject/repos","events_url":"https://api.github.com/users/hoaproject/events{/privacy}","received_events_url":"https://api.github.com/users/hoaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":46107740,"name":"Exception","full_name":"hoaproject/Exception","owner":{"login":"hoaproject","id":1519718,"avatar_url":"https://avatars.githubusercontent.com/u/1519718?v=3","gravatar_id":"","url":"https://api.github.com/users/hoaproject","html_url":"https://github.com/hoaproject","followers_url":"https://api.github.com/users/hoaproject/followers","following_url":"https://api.github.com/users/hoaproject/following{/other_user}","gists_url":"https://api.github.com/users/hoaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/hoaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoaproject/subscriptions","organizations_url":"https://api.github.com/users/hoaproject/orgs","repos_url":"https://api.github.com/users/hoaproject/repos","events_url":"https://api.github.com/users/hoaproject/events{/privacy}","received_events_url":"https://api.github.com/users/hoaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hoaproject/Exception","description":"The Hoa\\Exception library.","fork":false,"url":"https://api.github.com/repos/hoaproject/Exception","forks_url":"https://api.github.com/repos/hoaproject/Exception/forks","keys_url":"https://api.github.com/repos/hoaproject/Exception/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoaproject/Exception/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoaproject/Exception/teams","hooks_url":"https://api.github.com/repos/hoaproject/Exception/hooks","issue_events_url":"https://api.github.com/repos/hoaproject/Exception/issues/events{/number}","events_url":"https://api.github.com/repos/hoaproject/Exception/events","assignees_url":"https://api.github.com/repos/hoaproject/Exception/assignees{/user}","branches_url":"https://api.github.com/repos/hoaproject/Exception/branches{/branch}","tags_url":"https://api.github.com/repos/hoaproject/Exception/tags","blobs_url":"https://api.github.com/repos/hoaproject/Exception/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoaproject/Exception/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoaproject/Exception/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoaproject/Exception/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoaproject/Exception/statuses/{sha}","languages_url":"https://api.github.com/repos/hoaproject/Exception/languages","stargazers_url":"https://api.github.com/repos/hoaproject/Exception/stargazers","contributors_url":"https://api.github.com/repos/hoaproject/Exception/contributors","subscribers_url":"https://api.github.com/repos/hoaproject/Exception/subscribers","subscription_url":"https://api.github.com/repos/hoaproject/Exception/subscription","commits_url":"https://api.github.com/repos/hoaproject/Exception/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoaproject/Exception/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoaproject/Exception/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoaproject/Exception/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoaproject/Exception/contents/{+path}","compare_url":"https://api.github.com/repos/hoaproject/Exception/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoaproject/Exception/merges","archive_url":"https://api.github.com/repos/hoaproject/Exception/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoaproject/Exception/downloads","issues_url":"https://api.github.com/repos/hoaproject/Exception/issues{/number}","pulls_url":"https://api.github.com/repos/hoaproject/Exception/pulls{/number}","milestones_url":"https://api.github.com/repos/hoaproject/Exception/milestones{/number}","notifications_url":"https://api.github.com/repos/hoaproject/Exception/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoaproject/Exception/labels{/name}","releases_url":"https://api.github.com/repos/hoaproject/Exception/releases{/id}","created_at":"2015-11-13T07:49:18Z","updated_at":"2015-11-18T16:16:12Z","pushed_at":"2015-11-18T20:50:13Z","git_url":"git://github.com/hoaproject/Exception.git","ssh_url":"git@github.com:hoaproject/Exception.git","clone_url":"https://github.com/hoaproject/Exception.git","svn_url":"https://github.com/hoaproject/Exception","homepage":null,"size":18,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/2"},"html":{"href":"https://github.com/hoaproject/Exception/pull/2"},"issue":{"href":"https://api.github.com/repos/hoaproject/Exception/issues/2"},"comments":{"href":"https://api.github.com/repos/hoaproject/Exception/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hoaproject/Exception/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/hoaproject/Exception/statuses/e85c9791c7a52fb13a99b98b975bdcaa68005a1b"}}}}