{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42","id":137774724,"html_url":"https://github.com/JuliaGeo/LibGEOS.jl/pull/42","diff_url":"https://github.com/JuliaGeo/LibGEOS.jl/pull/42.diff","patch_url":"https://github.com/JuliaGeo/LibGEOS.jl/pull/42.patch","issue_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/42","number":42,"state":"closed","locked":false,"title":"add error handler","user":{"login":"yeesian","id":1231079,"avatar_url":"https://avatars0.githubusercontent.com/u/1231079?v=4","gravatar_id":"","url":"https://api.github.com/users/yeesian","html_url":"https://github.com/yeesian","followers_url":"https://api.github.com/users/yeesian/followers","following_url":"https://api.github.com/users/yeesian/following{/other_user}","gists_url":"https://api.github.com/users/yeesian/gists{/gist_id}","starred_url":"https://api.github.com/users/yeesian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeesian/subscriptions","organizations_url":"https://api.github.com/users/yeesian/orgs","repos_url":"https://api.github.com/users/yeesian/repos","events_url":"https://api.github.com/users/yeesian/events{/privacy}","received_events_url":"https://api.github.com/users/yeesian/received_events","type":"User","site_admin":false},"body":"Closes #41 \r\n\r\n```julia\r\n  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Official http://julialang.org/ release\r\n|__/                   |  x86_64-apple-darwin13.4.0\r\n\r\njulia> using LibGEOS; parseWKT(\"SRID=32756; POLYGON ((481676.5592297933180816 7207446.6192339314147830, 481670.9812610360677354 7207436.6032548164948821, 481656.8734335989574902 7207443.3182328715920448, 481661.5463352609076537 7207453.9481827337294817, 481676.5592297933180816 7207446.6192339314147830))\")\r\nERROR: GEOSError\r\n\tParseException: Unknown type: 'SRID=32756;'\r\nStacktrace:\r\n [1] geosjl_errorhandler(::Ptr{UInt8}, ::Ptr{Void}) at /Users/yeesian/.julia/v0.6/LibGEOS/src/LibGEOS.jl:34\r\n [2] geomFromWKT(::String) at /Users/yeesian/.julia/v0.6/LibGEOS/src/geos_functions.jl:19\r\n [3] parseWKT(::String) at /Users/yeesian/.julia/v0.6/LibGEOS/src/geos_operations.jl:25\r\n\r\njulia> parseWKT(\"POLYGON((-1. 1., 1. 3., 0. 2., -1. 1.5))\")\r\nERROR: GEOSError\r\n\tIllegalArgumentException: Points of LinearRing do not form a closed linestring\r\nStacktrace:\r\n [1] geosjl_errorhandler(::Ptr{UInt8}, ::Ptr{Void}) at /Users/yeesian/.julia/v0.6/LibGEOS/src/LibGEOS.jl:34\r\n [2] geomFromWKT(::String) at /Users/yeesian/.julia/v0.6/LibGEOS/src/geos_functions.jl:19\r\n [3] parseWKT(::String) at /Users/yeesian/.julia/v0.6/LibGEOS/src/geos_operations.jl:25\r\n```","created_at":"2017-08-25T23:40:37Z","updated_at":"2017-08-30T00:44:58Z","closed_at":"2017-08-30T00:44:58Z","merged_at":"2017-08-30T00:44:58Z","merge_commit_sha":"5011656e55cbbe56b0849d625ad83b074cb1fff9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42/commits","review_comments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42/comments","review_comment_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/42/comments","statuses_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/statuses/a68d35a8e901c04aa7a8ffa68055fb3f1634dc4a","head":{"label":"JuliaGeo:error-handle","ref":"error-handle","sha":"a68d35a8e901c04aa7a8ffa68055fb3f1634dc4a","user":{"login":"JuliaGeo","id":10616454,"avatar_url":"https://avatars0.githubusercontent.com/u/10616454?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaGeo","html_url":"https://github.com/JuliaGeo","followers_url":"https://api.github.com/users/JuliaGeo/followers","following_url":"https://api.github.com/users/JuliaGeo/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGeo/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGeo/subscriptions","organizations_url":"https://api.github.com/users/JuliaGeo/orgs","repos_url":"https://api.github.com/users/JuliaGeo/repos","events_url":"https://api.github.com/users/JuliaGeo/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGeo/received_events","type":"Organization","site_admin":false},"repo":{"id":30087419,"name":"LibGEOS.jl","full_name":"JuliaGeo/LibGEOS.jl","owner":{"login":"JuliaGeo","id":10616454,"avatar_url":"https://avatars0.githubusercontent.com/u/10616454?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaGeo","html_url":"https://github.com/JuliaGeo","followers_url":"https://api.github.com/users/JuliaGeo/followers","following_url":"https://api.github.com/users/JuliaGeo/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGeo/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGeo/subscriptions","organizations_url":"https://api.github.com/users/JuliaGeo/orgs","repos_url":"https://api.github.com/users/JuliaGeo/repos","events_url":"https://api.github.com/users/JuliaGeo/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaGeo/LibGEOS.jl","description":"Julia package for manipulation and analysis of planar geometric objects","fork":true,"url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl","forks_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/forks","keys_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/teams","hooks_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/events","assignees_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/tags","blobs_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/subscription","commits_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/merges","archive_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/downloads","issues_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/deployments","created_at":"2015-01-30T19:30:32Z","updated_at":"2017-03-29T03:21:02Z","pushed_at":"2017-08-30T00:44:58Z","git_url":"git://github.com/JuliaGeo/LibGEOS.jl.git","ssh_url":"git@github.com:JuliaGeo/LibGEOS.jl.git","clone_url":"https://github.com/JuliaGeo/LibGEOS.jl.git","svn_url":"https://github.com/JuliaGeo/LibGEOS.jl","homepage":"","size":401,"stargazers_count":3,"watchers_count":3,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"JuliaGeo:master","ref":"master","sha":"a8d7ad8689bf560ed27a7df975f6fd2a71f3752d","user":{"login":"JuliaGeo","id":10616454,"avatar_url":"https://avatars0.githubusercontent.com/u/10616454?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaGeo","html_url":"https://github.com/JuliaGeo","followers_url":"https://api.github.com/users/JuliaGeo/followers","following_url":"https://api.github.com/users/JuliaGeo/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGeo/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGeo/subscriptions","organizations_url":"https://api.github.com/users/JuliaGeo/orgs","repos_url":"https://api.github.com/users/JuliaGeo/repos","events_url":"https://api.github.com/users/JuliaGeo/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGeo/received_events","type":"Organization","site_admin":false},"repo":{"id":30087419,"name":"LibGEOS.jl","full_name":"JuliaGeo/LibGEOS.jl","owner":{"login":"JuliaGeo","id":10616454,"avatar_url":"https://avatars0.githubusercontent.com/u/10616454?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaGeo","html_url":"https://github.com/JuliaGeo","followers_url":"https://api.github.com/users/JuliaGeo/followers","following_url":"https://api.github.com/users/JuliaGeo/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGeo/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGeo/subscriptions","organizations_url":"https://api.github.com/users/JuliaGeo/orgs","repos_url":"https://api.github.com/users/JuliaGeo/repos","events_url":"https://api.github.com/users/JuliaGeo/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaGeo/LibGEOS.jl","description":"Julia package for manipulation and analysis of planar geometric objects","fork":true,"url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl","forks_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/forks","keys_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/teams","hooks_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/events","assignees_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/tags","blobs_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/subscription","commits_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/merges","archive_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/downloads","issues_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/deployments","created_at":"2015-01-30T19:30:32Z","updated_at":"2017-03-29T03:21:02Z","pushed_at":"2017-08-30T00:44:58Z","git_url":"git://github.com/JuliaGeo/LibGEOS.jl.git","ssh_url":"git@github.com:JuliaGeo/LibGEOS.jl.git","clone_url":"https://github.com/JuliaGeo/LibGEOS.jl.git","svn_url":"https://github.com/JuliaGeo/LibGEOS.jl","homepage":"","size":401,"stargazers_count":3,"watchers_count":3,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42"},"html":{"href":"https://github.com/JuliaGeo/LibGEOS.jl/pull/42"},"issue":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/42"},"comments":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaGeo/LibGEOS.jl/statuses/a68d35a8e901c04aa7a8ffa68055fb3f1634dc4a"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"yeesian","id":1231079,"avatar_url":"https://avatars0.githubusercontent.com/u/1231079?v=4","gravatar_id":"","url":"https://api.github.com/users/yeesian","html_url":"https://github.com/yeesian","followers_url":"https://api.github.com/users/yeesian/followers","following_url":"https://api.github.com/users/yeesian/following{/other_user}","gists_url":"https://api.github.com/users/yeesian/gists{/gist_id}","starred_url":"https://api.github.com/users/yeesian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeesian/subscriptions","organizations_url":"https://api.github.com/users/yeesian/orgs","repos_url":"https://api.github.com/users/yeesian/repos","events_url":"https://api.github.com/users/yeesian/events{/privacy}","received_events_url":"https://api.github.com/users/yeesian/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":41,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"yeesian"}}