{"action":"closed","number":1428,"pull_request":{"url":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428","id":33102056,"html_url":"https://github.com/mitsuhiko/flask/pull/1428","diff_url":"https://github.com/mitsuhiko/flask/pull/1428.diff","patch_url":"https://github.com/mitsuhiko/flask/pull/1428.patch","issue_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1428","number":1428,"state":"closed","locked":false,"title":"errorhandler priority and chaining","user":{"login":"emilecaron","id":6242447,"avatar_url":"https://avatars.githubusercontent.com/u/6242447?v=3","gravatar_id":"","url":"https://api.github.com/users/emilecaron","html_url":"https://github.com/emilecaron","followers_url":"https://api.github.com/users/emilecaron/followers","following_url":"https://api.github.com/users/emilecaron/following{/other_user}","gists_url":"https://api.github.com/users/emilecaron/gists{/gist_id}","starred_url":"https://api.github.com/users/emilecaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilecaron/subscriptions","organizations_url":"https://api.github.com/users/emilecaron/orgs","repos_url":"https://api.github.com/users/emilecaron/repos","events_url":"https://api.github.com/users/emilecaron/events{/privacy}","received_events_url":"https://api.github.com/users/emilecaron/received_events","type":"User","site_admin":false},"body":"\r\nThis allows two things with the error handlers:\r\n* The best handler gets picked when multiple handlers are possible. Example: you can register a default handler for all exceptions and a then override it for specific errors.\r\n* In a handler, you can raise the error again to pass it to the next best handler.\r\n","created_at":"2015-04-11T11:38:03Z","updated_at":"2015-04-11T11:51:40Z","closed_at":"2015-04-11T11:51:40Z","merged_at":null,"merge_commit_sha":"4e099248524c19ae5d25c33e094a3a67d7c526a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428/commits","review_comments_url":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428/comments","review_comment_url":"https://api.github.com/repos/mitsuhiko/flask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1428/comments","statuses_url":"https://api.github.com/repos/mitsuhiko/flask/statuses/4dbcb1553aed5ba7468e29bb843176ae9613a986","head":{"label":"emilecaron:master","ref":"master","sha":"4dbcb1553aed5ba7468e29bb843176ae9613a986","user":{"login":"emilecaron","id":6242447,"avatar_url":"https://avatars.githubusercontent.com/u/6242447?v=3","gravatar_id":"","url":"https://api.github.com/users/emilecaron","html_url":"https://github.com/emilecaron","followers_url":"https://api.github.com/users/emilecaron/followers","following_url":"https://api.github.com/users/emilecaron/following{/other_user}","gists_url":"https://api.github.com/users/emilecaron/gists{/gist_id}","starred_url":"https://api.github.com/users/emilecaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilecaron/subscriptions","organizations_url":"https://api.github.com/users/emilecaron/orgs","repos_url":"https://api.github.com/users/emilecaron/repos","events_url":"https://api.github.com/users/emilecaron/events{/privacy}","received_events_url":"https://api.github.com/users/emilecaron/received_events","type":"User","site_admin":false},"repo":{"id":33768854,"name":"flask","full_name":"emilecaron/flask","owner":{"login":"emilecaron","id":6242447,"avatar_url":"https://avatars.githubusercontent.com/u/6242447?v=3","gravatar_id":"","url":"https://api.github.com/users/emilecaron","html_url":"https://github.com/emilecaron","followers_url":"https://api.github.com/users/emilecaron/followers","following_url":"https://api.github.com/users/emilecaron/following{/other_user}","gists_url":"https://api.github.com/users/emilecaron/gists{/gist_id}","starred_url":"https://api.github.com/users/emilecaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilecaron/subscriptions","organizations_url":"https://api.github.com/users/emilecaron/orgs","repos_url":"https://api.github.com/users/emilecaron/repos","events_url":"https://api.github.com/users/emilecaron/events{/privacy}","received_events_url":"https://api.github.com/users/emilecaron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emilecaron/flask","description":"A microframework based on Werkzeug, Jinja2 and good intentions","fork":true,"url":"https://api.github.com/repos/emilecaron/flask","forks_url":"https://api.github.com/repos/emilecaron/flask/forks","keys_url":"https://api.github.com/repos/emilecaron/flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emilecaron/flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emilecaron/flask/teams","hooks_url":"https://api.github.com/repos/emilecaron/flask/hooks","issue_events_url":"https://api.github.com/repos/emilecaron/flask/issues/events{/number}","events_url":"https://api.github.com/repos/emilecaron/flask/events","assignees_url":"https://api.github.com/repos/emilecaron/flask/assignees{/user}","branches_url":"https://api.github.com/repos/emilecaron/flask/branches{/branch}","tags_url":"https://api.github.com/repos/emilecaron/flask/tags","blobs_url":"https://api.github.com/repos/emilecaron/flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emilecaron/flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emilecaron/flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/emilecaron/flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emilecaron/flask/statuses/{sha}","languages_url":"https://api.github.com/repos/emilecaron/flask/languages","stargazers_url":"https://api.github.com/repos/emilecaron/flask/stargazers","contributors_url":"https://api.github.com/repos/emilecaron/flask/contributors","subscribers_url":"https://api.github.com/repos/emilecaron/flask/subscribers","subscription_url":"https://api.github.com/repos/emilecaron/flask/subscription","commits_url":"https://api.github.com/repos/emilecaron/flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/emilecaron/flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/emilecaron/flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/emilecaron/flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/emilecaron/flask/contents/{+path}","compare_url":"https://api.github.com/repos/emilecaron/flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emilecaron/flask/merges","archive_url":"https://api.github.com/repos/emilecaron/flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emilecaron/flask/downloads","issues_url":"https://api.github.com/repos/emilecaron/flask/issues{/number}","pulls_url":"https://api.github.com/repos/emilecaron/flask/pulls{/number}","milestones_url":"https://api.github.com/repos/emilecaron/flask/milestones{/number}","notifications_url":"https://api.github.com/repos/emilecaron/flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emilecaron/flask/labels{/name}","releases_url":"https://api.github.com/repos/emilecaron/flask/releases{/id}","created_at":"2015-04-11T08:41:00Z","updated_at":"2015-04-11T11:22:26Z","pushed_at":"2015-04-11T11:22:23Z","git_url":"git://github.com/emilecaron/flask.git","ssh_url":"git@github.com:emilecaron/flask.git","clone_url":"https://github.com/emilecaron/flask.git","svn_url":"https://github.com/emilecaron/flask","homepage":"http://flask.pocoo.org/","size":15444,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"mitsuhiko:master","ref":"master","sha":"dac45f6c5d2dc69a59561dc70579cc16a980bd21","user":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"repo":{"id":596892,"name":"flask","full_name":"mitsuhiko/flask","owner":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitsuhiko/flask","description":"A microframework based on Werkzeug, Jinja2 and good intentions","fork":false,"url":"https://api.github.com/repos/mitsuhiko/flask","forks_url":"https://api.github.com/repos/mitsuhiko/flask/forks","keys_url":"https://api.github.com/repos/mitsuhiko/flask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitsuhiko/flask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitsuhiko/flask/teams","hooks_url":"https://api.github.com/repos/mitsuhiko/flask/hooks","issue_events_url":"https://api.github.com/repos/mitsuhiko/flask/issues/events{/number}","events_url":"https://api.github.com/repos/mitsuhiko/flask/events","assignees_url":"https://api.github.com/repos/mitsuhiko/flask/assignees{/user}","branches_url":"https://api.github.com/repos/mitsuhiko/flask/branches{/branch}","tags_url":"https://api.github.com/repos/mitsuhiko/flask/tags","blobs_url":"https://api.github.com/repos/mitsuhiko/flask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitsuhiko/flask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitsuhiko/flask/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitsuhiko/flask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitsuhiko/flask/statuses/{sha}","languages_url":"https://api.github.com/repos/mitsuhiko/flask/languages","stargazers_url":"https://api.github.com/repos/mitsuhiko/flask/stargazers","contributors_url":"https://api.github.com/repos/mitsuhiko/flask/contributors","subscribers_url":"https://api.github.com/repos/mitsuhiko/flask/subscribers","subscription_url":"https://api.github.com/repos/mitsuhiko/flask/subscription","commits_url":"https://api.github.com/repos/mitsuhiko/flask/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitsuhiko/flask/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitsuhiko/flask/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitsuhiko/flask/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitsuhiko/flask/contents/{+path}","compare_url":"https://api.github.com/repos/mitsuhiko/flask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitsuhiko/flask/merges","archive_url":"https://api.github.com/repos/mitsuhiko/flask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitsuhiko/flask/downloads","issues_url":"https://api.github.com/repos/mitsuhiko/flask/issues{/number}","pulls_url":"https://api.github.com/repos/mitsuhiko/flask/pulls{/number}","milestones_url":"https://api.github.com/repos/mitsuhiko/flask/milestones{/number}","notifications_url":"https://api.github.com/repos/mitsuhiko/flask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitsuhiko/flask/labels{/name}","releases_url":"https://api.github.com/repos/mitsuhiko/flask/releases{/id}","created_at":"2010-04-06T11:11:59Z","updated_at":"2015-04-11T11:40:33Z","pushed_at":"2015-04-11T11:38:03Z","git_url":"git://github.com/mitsuhiko/flask.git","ssh_url":"git@github.com:mitsuhiko/flask.git","clone_url":"https://github.com/mitsuhiko/flask.git","svn_url":"https://github.com/mitsuhiko/flask","homepage":"http://flask.pocoo.org/","size":15444,"stargazers_count":13402,"watchers_count":13402,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3848,"mirror_url":null,"open_issues_count":139,"forks":3848,"open_issues":139,"watchers":13402,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428"},"html":{"href":"https://github.com/mitsuhiko/flask/pull/1428"},"issue":{"href":"https://api.github.com/repos/mitsuhiko/flask/issues/1428"},"comments":{"href":"https://api.github.com/repos/mitsuhiko/flask/issues/1428/comments"},"review_comments":{"href":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428/comments"},"review_comment":{"href":"https://api.github.com/repos/mitsuhiko/flask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitsuhiko/flask/pulls/1428/commits"},"statuses":{"href":"https://api.github.com/repos/mitsuhiko/flask/statuses/4dbcb1553aed5ba7468e29bb843176ae9613a986"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":2,"changed_files":1}}