{"action":"closed","number":5430,"pull_request":{"url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430","id":176264349,"html_url":"https://github.com/ballerina-lang/ballerina/pull/5430","diff_url":"https://github.com/ballerina-lang/ballerina/pull/5430.diff","patch_url":"https://github.com/ballerina-lang/ballerina/pull/5430.patch","issue_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5430","number":5430,"state":"closed","locked":false,"title":"Set error return in stringlib as union type","user":{"login":"hevayo","id":323846,"avatar_url":"https://avatars0.githubusercontent.com/u/323846?v=4","gravatar_id":"","url":"https://api.github.com/users/hevayo","html_url":"https://github.com/hevayo","followers_url":"https://api.github.com/users/hevayo/followers","following_url":"https://api.github.com/users/hevayo/following{/other_user}","gists_url":"https://api.github.com/users/hevayo/gists{/gist_id}","starred_url":"https://api.github.com/users/hevayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevayo/subscriptions","organizations_url":"https://api.github.com/users/hevayo/orgs","repos_url":"https://api.github.com/users/hevayo/repos","events_url":"https://api.github.com/users/hevayo/events{/privacy}","received_events_url":"https://api.github.com/users/hevayo/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nSet error return in stringlib as union type","created_at":"2018-03-20T17:21:23Z","updated_at":"2018-03-20T17:28:02Z","closed_at":"2018-03-20T17:28:02Z","merged_at":"2018-03-20T17:28:02Z","merge_commit_sha":"c004c64eee57917154fe000c95275d7c90309725","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430/commits","review_comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430/comments","review_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5430/comments","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/16cabbcb5c0a67414d1a4f541252ecfb36ebb0ea","head":{"label":"hevayo:test-fixes","ref":"test-fixes","sha":"16cabbcb5c0a67414d1a4f541252ecfb36ebb0ea","user":{"login":"hevayo","id":323846,"avatar_url":"https://avatars0.githubusercontent.com/u/323846?v=4","gravatar_id":"","url":"https://api.github.com/users/hevayo","html_url":"https://github.com/hevayo","followers_url":"https://api.github.com/users/hevayo/followers","following_url":"https://api.github.com/users/hevayo/following{/other_user}","gists_url":"https://api.github.com/users/hevayo/gists{/gist_id}","starred_url":"https://api.github.com/users/hevayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevayo/subscriptions","organizations_url":"https://api.github.com/users/hevayo/orgs","repos_url":"https://api.github.com/users/hevayo/repos","events_url":"https://api.github.com/users/hevayo/events{/privacy}","received_events_url":"https://api.github.com/users/hevayo/received_events","type":"User","site_admin":false},"repo":{"id":120407275,"name":"ballerina","full_name":"hevayo/ballerina","owner":{"login":"hevayo","id":323846,"avatar_url":"https://avatars0.githubusercontent.com/u/323846?v=4","gravatar_id":"","url":"https://api.github.com/users/hevayo","html_url":"https://github.com/hevayo","followers_url":"https://api.github.com/users/hevayo/followers","following_url":"https://api.github.com/users/hevayo/following{/other_user}","gists_url":"https://api.github.com/users/hevayo/gists{/gist_id}","starred_url":"https://api.github.com/users/hevayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hevayo/subscriptions","organizations_url":"https://api.github.com/users/hevayo/orgs","repos_url":"https://api.github.com/users/hevayo/repos","events_url":"https://api.github.com/users/hevayo/events{/privacy}","received_events_url":"https://api.github.com/users/hevayo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hevayo/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":true,"url":"https://api.github.com/repos/hevayo/ballerina","forks_url":"https://api.github.com/repos/hevayo/ballerina/forks","keys_url":"https://api.github.com/repos/hevayo/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hevayo/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hevayo/ballerina/teams","hooks_url":"https://api.github.com/repos/hevayo/ballerina/hooks","issue_events_url":"https://api.github.com/repos/hevayo/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/hevayo/ballerina/events","assignees_url":"https://api.github.com/repos/hevayo/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/hevayo/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/hevayo/ballerina/tags","blobs_url":"https://api.github.com/repos/hevayo/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hevayo/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hevayo/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/hevayo/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hevayo/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/hevayo/ballerina/languages","stargazers_url":"https://api.github.com/repos/hevayo/ballerina/stargazers","contributors_url":"https://api.github.com/repos/hevayo/ballerina/contributors","subscribers_url":"https://api.github.com/repos/hevayo/ballerina/subscribers","subscription_url":"https://api.github.com/repos/hevayo/ballerina/subscription","commits_url":"https://api.github.com/repos/hevayo/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/hevayo/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/hevayo/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/hevayo/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/hevayo/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/hevayo/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hevayo/ballerina/merges","archive_url":"https://api.github.com/repos/hevayo/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hevayo/ballerina/downloads","issues_url":"https://api.github.com/repos/hevayo/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/hevayo/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/hevayo/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/hevayo/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hevayo/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/hevayo/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/hevayo/ballerina/deployments","created_at":"2018-02-06T05:42:02Z","updated_at":"2018-03-15T08:45:04Z","pushed_at":"2018-03-20T17:17:44Z","git_url":"git://github.com/hevayo/ballerina.git","ssh_url":"git@github.com:hevayo/ballerina.git","clone_url":"https://github.com/hevayo/ballerina.git","svn_url":"https://github.com/hevayo/ballerina","homepage":"","size":179711,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-lang:master","ref":"master","sha":"75ce73cbcb832df2580d31e08248613996764367","user":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"name":"ballerina","full_name":"ballerina-lang/ballerina","owner":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ballerina-lang/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":false,"url":"https://api.github.com/repos/ballerina-lang/ballerina","forks_url":"https://api.github.com/repos/ballerina-lang/ballerina/forks","keys_url":"https://api.github.com/repos/ballerina-lang/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-lang/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-lang/ballerina/teams","hooks_url":"https://api.github.com/repos/ballerina-lang/ballerina/hooks","issue_events_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-lang/ballerina/events","assignees_url":"https://api.github.com/repos/ballerina-lang/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-lang/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/tags","blobs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-lang/ballerina/languages","stargazers_url":"https://api.github.com/repos/ballerina-lang/ballerina/stargazers","contributors_url":"https://api.github.com/repos/ballerina-lang/ballerina/contributors","subscribers_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscribers","subscription_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscription","commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-lang/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-lang/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-lang/ballerina/merges","archive_url":"https://api.github.com/repos/ballerina-lang/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-lang/ballerina/downloads","issues_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-lang/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-lang/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-lang/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-lang/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-lang/ballerina/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2018-03-20T17:22:24Z","pushed_at":"2018-03-20T17:28:03Z","git_url":"git://github.com/ballerina-lang/ballerina.git","ssh_url":"git@github.com:ballerina-lang/ballerina.git","clone_url":"https://github.com/ballerina-lang/ballerina.git","svn_url":"https://github.com/ballerina-lang/ballerina","homepage":"","size":184473,"stargazers_count":243,"watchers_count":243,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":251,"mirror_url":null,"archived":false,"open_issues_count":560,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":251,"open_issues":560,"watchers":243,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430"},"html":{"href":"https://github.com/ballerina-lang/ballerina/pull/5430"},"issue":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5430"},"comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5430/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5430/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/16cabbcb5c0a67414d1a4f541252ecfb36ebb0ea"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"shafreenAnfar","id":6178058,"avatar_url":"https://avatars0.githubusercontent.com/u/6178058?v=4","gravatar_id":"","url":"https://api.github.com/users/shafreenAnfar","html_url":"https://github.com/shafreenAnfar","followers_url":"https://api.github.com/users/shafreenAnfar/followers","following_url":"https://api.github.com/users/shafreenAnfar/following{/other_user}","gists_url":"https://api.github.com/users/shafreenAnfar/gists{/gist_id}","starred_url":"https://api.github.com/users/shafreenAnfar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shafreenAnfar/subscriptions","organizations_url":"https://api.github.com/users/shafreenAnfar/orgs","repos_url":"https://api.github.com/users/shafreenAnfar/repos","events_url":"https://api.github.com/users/shafreenAnfar/events{/privacy}","received_events_url":"https://api.github.com/users/shafreenAnfar/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":8,"changed_files":5}}
{"actor":{"display_login":"shafreenAnfar"}}