{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/66","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/66/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/66/events","html_url":"https://github.com/solettaproject/soletta/pull/66","id":90749539,"number":66,"title":"Process error","user":{"login":"lgywata","id":5435453,"avatar_url":"https://avatars.githubusercontent.com/u/5435453?v=3","gravatar_id":"","url":"https://api.github.com/users/lgywata","html_url":"https://github.com/lgywata","followers_url":"https://api.github.com/users/lgywata/followers","following_url":"https://api.github.com/users/lgywata/following{/other_user}","gists_url":"https://api.github.com/users/lgywata/gists{/gist_id}","starred_url":"https://api.github.com/users/lgywata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgywata/subscriptions","organizations_url":"https://api.github.com/users/lgywata/orgs","repos_url":"https://api.github.com/users/lgywata/repos","events_url":"https://api.github.com/users/lgywata/events{/privacy}","received_events_url":"https://api.github.com/users/lgywata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T18:12:51Z","updated_at":"2015-06-24T18:18:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/66","html_url":"https://github.com/solettaproject/soletta/pull/66","diff_url":"https://github.com/solettaproject/soletta/pull/66.diff","patch_url":"https://github.com/solettaproject/soletta/pull/66.patch"},"body":"Today all *process* callbacks return an integer value that is simply disregarded by the framework, even in case of failure. This series uses the ERROR channel to report failures and is the first step to make all process callbacks return void in the future. The remaining modules will be changed in future PRs."},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/114968602","html_url":"https://github.com/solettaproject/soletta/pull/66#issuecomment-114968602","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/66","id":114968602,"user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T18:18:28Z","updated_at":"2015-06-24T18:18:28Z","body":"You're mixing error scopes with this description.\r\n\r\nProcess() return is the error of the method itself, like not being able to create a packet. Like a system error, core could take action such as delaying the dispatch to free memory pressure. The programmer cannot do anything to help, but the core can try. \r\n\r\nThings like sending ERROR on that port is different, like when an expected error in that context, such as integer overflows in calculations. Then programmer can do something about it. "}}