{"action":"created","comment":{"url":"https://api.github.com/repos/Respect/Validation/pulls/comments/23884094","id":23884094,"diff_hunk":"@@ -108,15 +108,29 @@ $usernameValidator->validate('alexandre gaigalas'); //false\n $usernameValidator->validate('#$%');                //false\n ```\n \n+### Exception Types\n+\n+* `Respect\\Validation\\Exceptions\\NestedValidationExceptionInterface`:\n+    * Use when calling `assert()`.\n+    * Interface has three methods: `getFullMessage()`, `findMessages()`, and `getMainMessage()`.\n+* `Respect\\Validation\\Exceptions\\ValidationExceptionInterface`: \n+    * Use when calling `::check()`.\n+    * All `Respect\\Validation` validation exceptions implement this interface.  \n+    * Interface has one method: `getMainMessage()`;\n+* `Repect\\Validation\\Exceptions\\ExceptionInterface`: \n+    * All `Respect\\Validation\\Exceptions` implement this interface.  \n+ \n ### Informative Exceptions\n \n When something goes wrong, Validation can tell you exactly what's going on. For this,\n we use the `assert()` method instead of `validate()`:\n \n ```php\n+import Respect\\Validation\\Exceptions\\NestedValidationExceptionInterface","path":"README.md","position":22,"original_position":22,"commit_id":"14b49e6d15797c615e29669716f19104fb9dbdec","original_commit_id":"14b49e6d15797c615e29669716f19104fb9dbdec","user":{"login":"henriquemoody","id":154023,"avatar_url":"https://avatars.githubusercontent.com/u/154023?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquemoody","html_url":"https://github.com/henriquemoody","followers_url":"https://api.github.com/users/henriquemoody/followers","following_url":"https://api.github.com/users/henriquemoody/following{/other_user}","gists_url":"https://api.github.com/users/henriquemoody/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquemoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquemoody/subscriptions","organizations_url":"https://api.github.com/users/henriquemoody/orgs","repos_url":"https://api.github.com/users/henriquemoody/repos","events_url":"https://api.github.com/users/henriquemoody/events{/privacy}","received_events_url":"https://api.github.com/users/henriquemoody/received_events","type":"User","site_admin":false},"body":"hehehe, I was wondering if it was Python, C, Java or what :stuck_out_tongue_closed_eyes: ","created_at":"2015-01-31T01:08:00Z","updated_at":"2015-01-31T01:08:00Z","html_url":"https://github.com/Respect/Validation/pull/272#discussion_r23884094","pull_request_url":"https://api.github.com/repos/Respect/Validation/pulls/272","_links":{"self":{"href":"https://api.github.com/repos/Respect/Validation/pulls/comments/23884094"},"html":{"href":"https://github.com/Respect/Validation/pull/272#discussion_r23884094"},"pull_request":{"href":"https://api.github.com/repos/Respect/Validation/pulls/272"}}},"pull_request":{"url":"https://api.github.com/repos/Respect/Validation/pulls/272","id":28335209,"html_url":"https://github.com/Respect/Validation/pull/272","diff_url":"https://github.com/Respect/Validation/pull/272.diff","patch_url":"https://github.com/Respect/Validation/pull/272.patch","issue_url":"https://api.github.com/repos/Respect/Validation/issues/272","number":272,"state":"open","locked":false,"title":"Issue #260: Now using  Respect\\Validation exceptions only","user":{"login":"AndyWendt","id":6130713,"avatar_url":"https://avatars.githubusercontent.com/u/6130713?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyWendt","html_url":"https://github.com/AndyWendt","followers_url":"https://api.github.com/users/AndyWendt/followers","following_url":"https://api.github.com/users/AndyWendt/following{/other_user}","gists_url":"https://api.github.com/users/AndyWendt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyWendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyWendt/subscriptions","organizations_url":"https://api.github.com/users/AndyWendt/orgs","repos_url":"https://api.github.com/users/AndyWendt/repos","events_url":"https://api.github.com/users/AndyWendt/events{/privacy}","received_events_url":"https://api.github.com/users/AndyWendt/received_events","type":"User","site_admin":false},"body":"### Added new types:\r\n\r\n* `ExceptionInterface`: all Respect\\Validation\\Exceptions implement through inheritance\r\n* `ValidatorExceptionInterface`: implemented only by AllOfException.  This allows the end users to know when there has been a Validator exception rather than just any of our exceptions.\r\n\r\n### Changed Tests and Readme\r\n\r\n* `ValidatorTest` and `README.md` now use `ValidatorExceptionInterface`\r\n\r\n* Added *Exception Types* section to `README.md`\r\n\r\nFix #260.","created_at":"2015-01-30T03:10:41Z","updated_at":"2015-01-31T01:08:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26c7231d8570e28e0b92104031e63a67b872a3ba","assignee":null,"milestone":{"url":"https://api.github.com/repos/Respect/Validation/milestones/6","labels_url":"https://api.github.com/repos/Respect/Validation/milestones/6/labels","id":926337,"number":6,"title":"0.8","description":"","creator":{"login":"henriquemoody","id":154023,"avatar_url":"https://avatars.githubusercontent.com/u/154023?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquemoody","html_url":"https://github.com/henriquemoody","followers_url":"https://api.github.com/users/henriquemoody/followers","following_url":"https://api.github.com/users/henriquemoody/following{/other_user}","gists_url":"https://api.github.com/users/henriquemoody/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquemoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquemoody/subscriptions","organizations_url":"https://api.github.com/users/henriquemoody/orgs","repos_url":"https://api.github.com/users/henriquemoody/repos","events_url":"https://api.github.com/users/henriquemoody/events{/privacy}","received_events_url":"https://api.github.com/users/henriquemoody/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":7,"state":"open","created_at":"2015-01-07T23:06:02Z","updated_at":"2015-01-30T08:09:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Respect/Validation/pulls/272/commits","review_comments_url":"https://api.github.com/repos/Respect/Validation/pulls/272/comments","review_comment_url":"https://api.github.com/repos/Respect/Validation/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Respect/Validation/issues/272/comments","statuses_url":"https://api.github.com/repos/Respect/Validation/statuses/14b49e6d15797c615e29669716f19104fb9dbdec","head":{"label":"AndyWendt:fix/260-use-respect-validation-exceptions-only","ref":"fix/260-use-respect-validation-exceptions-only","sha":"14b49e6d15797c615e29669716f19104fb9dbdec","user":{"login":"AndyWendt","id":6130713,"avatar_url":"https://avatars.githubusercontent.com/u/6130713?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyWendt","html_url":"https://github.com/AndyWendt","followers_url":"https://api.github.com/users/AndyWendt/followers","following_url":"https://api.github.com/users/AndyWendt/following{/other_user}","gists_url":"https://api.github.com/users/AndyWendt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyWendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyWendt/subscriptions","organizations_url":"https://api.github.com/users/AndyWendt/orgs","repos_url":"https://api.github.com/users/AndyWendt/repos","events_url":"https://api.github.com/users/AndyWendt/events{/privacy}","received_events_url":"https://api.github.com/users/AndyWendt/received_events","type":"User","site_admin":false},"repo":{"id":29997814,"name":"Validation","full_name":"AndyWendt/Validation","owner":{"login":"AndyWendt","id":6130713,"avatar_url":"https://avatars.githubusercontent.com/u/6130713?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyWendt","html_url":"https://github.com/AndyWendt","followers_url":"https://api.github.com/users/AndyWendt/followers","following_url":"https://api.github.com/users/AndyWendt/following{/other_user}","gists_url":"https://api.github.com/users/AndyWendt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyWendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyWendt/subscriptions","organizations_url":"https://api.github.com/users/AndyWendt/orgs","repos_url":"https://api.github.com/users/AndyWendt/repos","events_url":"https://api.github.com/users/AndyWendt/events{/privacy}","received_events_url":"https://api.github.com/users/AndyWendt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndyWendt/Validation","description":"The most awesome validation engine ever created for PHP","fork":true,"url":"https://api.github.com/repos/AndyWendt/Validation","forks_url":"https://api.github.com/repos/AndyWendt/Validation/forks","keys_url":"https://api.github.com/repos/AndyWendt/Validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndyWendt/Validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndyWendt/Validation/teams","hooks_url":"https://api.github.com/repos/AndyWendt/Validation/hooks","issue_events_url":"https://api.github.com/repos/AndyWendt/Validation/issues/events{/number}","events_url":"https://api.github.com/repos/AndyWendt/Validation/events","assignees_url":"https://api.github.com/repos/AndyWendt/Validation/assignees{/user}","branches_url":"https://api.github.com/repos/AndyWendt/Validation/branches{/branch}","tags_url":"https://api.github.com/repos/AndyWendt/Validation/tags","blobs_url":"https://api.github.com/repos/AndyWendt/Validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndyWendt/Validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndyWendt/Validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndyWendt/Validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndyWendt/Validation/statuses/{sha}","languages_url":"https://api.github.com/repos/AndyWendt/Validation/languages","stargazers_url":"https://api.github.com/repos/AndyWendt/Validation/stargazers","contributors_url":"https://api.github.com/repos/AndyWendt/Validation/contributors","subscribers_url":"https://api.github.com/repos/AndyWendt/Validation/subscribers","subscription_url":"https://api.github.com/repos/AndyWendt/Validation/subscription","commits_url":"https://api.github.com/repos/AndyWendt/Validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndyWendt/Validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndyWendt/Validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndyWendt/Validation/issues/comments/{number}","contents_url":"https://api.github.com/repos/AndyWendt/Validation/contents/{+path}","compare_url":"https://api.github.com/repos/AndyWendt/Validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndyWendt/Validation/merges","archive_url":"https://api.github.com/repos/AndyWendt/Validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndyWendt/Validation/downloads","issues_url":"https://api.github.com/repos/AndyWendt/Validation/issues{/number}","pulls_url":"https://api.github.com/repos/AndyWendt/Validation/pulls{/number}","milestones_url":"https://api.github.com/repos/AndyWendt/Validation/milestones{/number}","notifications_url":"https://api.github.com/repos/AndyWendt/Validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndyWendt/Validation/labels{/name}","releases_url":"https://api.github.com/repos/AndyWendt/Validation/releases{/id}","created_at":"2015-01-29T01:35:37Z","updated_at":"2015-01-30T03:01:40Z","pushed_at":"2015-01-30T23:15:25Z","git_url":"git://github.com/AndyWendt/Validation.git","ssh_url":"git@github.com:AndyWendt/Validation.git","clone_url":"https://github.com/AndyWendt/Validation.git","svn_url":"https://github.com/AndyWendt/Validation","homepage":"http://documentup.com/Respect/Validation","size":2259,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Respect:master","ref":"master","sha":"116be2bbef39a595fa0cf6630dfa7f149a8bc4ce","user":{"login":"Respect","id":354431,"avatar_url":"https://avatars.githubusercontent.com/u/354431?v=3","gravatar_id":"","url":"https://api.github.com/users/Respect","html_url":"https://github.com/Respect","followers_url":"https://api.github.com/users/Respect/followers","following_url":"https://api.github.com/users/Respect/following{/other_user}","gists_url":"https://api.github.com/users/Respect/gists{/gist_id}","starred_url":"https://api.github.com/users/Respect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Respect/subscriptions","organizations_url":"https://api.github.com/users/Respect/orgs","repos_url":"https://api.github.com/users/Respect/repos","events_url":"https://api.github.com/users/Respect/events{/privacy}","received_events_url":"https://api.github.com/users/Respect/received_events","type":"Organization","site_admin":false},"repo":{"id":931033,"name":"Validation","full_name":"Respect/Validation","owner":{"login":"Respect","id":354431,"avatar_url":"https://avatars.githubusercontent.com/u/354431?v=3","gravatar_id":"","url":"https://api.github.com/users/Respect","html_url":"https://github.com/Respect","followers_url":"https://api.github.com/users/Respect/followers","following_url":"https://api.github.com/users/Respect/following{/other_user}","gists_url":"https://api.github.com/users/Respect/gists{/gist_id}","starred_url":"https://api.github.com/users/Respect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Respect/subscriptions","organizations_url":"https://api.github.com/users/Respect/orgs","repos_url":"https://api.github.com/users/Respect/repos","events_url":"https://api.github.com/users/Respect/events{/privacy}","received_events_url":"https://api.github.com/users/Respect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Respect/Validation","description":"The most awesome validation engine ever created for PHP","fork":false,"url":"https://api.github.com/repos/Respect/Validation","forks_url":"https://api.github.com/repos/Respect/Validation/forks","keys_url":"https://api.github.com/repos/Respect/Validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Respect/Validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Respect/Validation/teams","hooks_url":"https://api.github.com/repos/Respect/Validation/hooks","issue_events_url":"https://api.github.com/repos/Respect/Validation/issues/events{/number}","events_url":"https://api.github.com/repos/Respect/Validation/events","assignees_url":"https://api.github.com/repos/Respect/Validation/assignees{/user}","branches_url":"https://api.github.com/repos/Respect/Validation/branches{/branch}","tags_url":"https://api.github.com/repos/Respect/Validation/tags","blobs_url":"https://api.github.com/repos/Respect/Validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Respect/Validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Respect/Validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Respect/Validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Respect/Validation/statuses/{sha}","languages_url":"https://api.github.com/repos/Respect/Validation/languages","stargazers_url":"https://api.github.com/repos/Respect/Validation/stargazers","contributors_url":"https://api.github.com/repos/Respect/Validation/contributors","subscribers_url":"https://api.github.com/repos/Respect/Validation/subscribers","subscription_url":"https://api.github.com/repos/Respect/Validation/subscription","commits_url":"https://api.github.com/repos/Respect/Validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Respect/Validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Respect/Validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Respect/Validation/issues/comments/{number}","contents_url":"https://api.github.com/repos/Respect/Validation/contents/{+path}","compare_url":"https://api.github.com/repos/Respect/Validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Respect/Validation/merges","archive_url":"https://api.github.com/repos/Respect/Validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Respect/Validation/downloads","issues_url":"https://api.github.com/repos/Respect/Validation/issues{/number}","pulls_url":"https://api.github.com/repos/Respect/Validation/pulls{/number}","milestones_url":"https://api.github.com/repos/Respect/Validation/milestones{/number}","notifications_url":"https://api.github.com/repos/Respect/Validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Respect/Validation/labels{/name}","releases_url":"https://api.github.com/repos/Respect/Validation/releases{/id}","created_at":"2010-09-22T16:08:05Z","updated_at":"2015-01-30T19:01:07Z","pushed_at":"2015-01-30T19:00:51Z","git_url":"git://github.com/Respect/Validation.git","ssh_url":"git@github.com:Respect/Validation.git","clone_url":"https://github.com/Respect/Validation.git","svn_url":"https://github.com/Respect/Validation","homepage":"http://documentup.com/Respect/Validation","size":3985,"stargazers_count":1979,"watchers_count":1979,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":285,"mirror_url":null,"open_issues_count":33,"forks":285,"open_issues":33,"watchers":1979,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Respect/Validation/pulls/272"},"html":{"href":"https://github.com/Respect/Validation/pull/272"},"issue":{"href":"https://api.github.com/repos/Respect/Validation/issues/272"},"comments":{"href":"https://api.github.com/repos/Respect/Validation/issues/272/comments"},"review_comments":{"href":"https://api.github.com/repos/Respect/Validation/pulls/272/comments"},"review_comment":{"href":"https://api.github.com/repos/Respect/Validation/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Respect/Validation/pulls/272/commits"},"statuses":{"href":"https://api.github.com/repos/Respect/Validation/statuses/14b49e6d15797c615e29669716f19104fb9dbdec"}}}}