{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/CM/issues/1832","labels_url":"https://api.github.com/repos/cargomedia/CM/issues/1832/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/CM/issues/1832/comments","events_url":"https://api.github.com/repos/cargomedia/CM/issues/1832/events","html_url":"https://github.com/cargomedia/CM/pull/1832","id":93513254,"number":1832,"title":"Get rid of cm.error","user":{"login":"njam","id":360800,"avatar_url":"https://avatars.githubusercontent.com/u/360800?v=3","gravatar_id":"","url":"https://api.github.com/users/njam","html_url":"https://github.com/njam","followers_url":"https://api.github.com/users/njam/followers","following_url":"https://api.github.com/users/njam/following{/other_user}","gists_url":"https://api.github.com/users/njam/gists{/gist_id}","starred_url":"https://api.github.com/users/njam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njam/subscriptions","organizations_url":"https://api.github.com/users/njam/orgs","repos_url":"https://api.github.com/users/njam/repos","events_url":"https://api.github.com/users/njam/events{/privacy}","received_events_url":"https://api.github.com/users/njam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/CM/labels/selfmade","name":"selfmade","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"vogdb","id":372386,"avatar_url":"https://avatars.githubusercontent.com/u/372386?v=3","gravatar_id":"","url":"https://api.github.com/users/vogdb","html_url":"https://github.com/vogdb","followers_url":"https://api.github.com/users/vogdb/followers","following_url":"https://api.github.com/users/vogdb/following{/other_user}","gists_url":"https://api.github.com/users/vogdb/gists{/gist_id}","starred_url":"https://api.github.com/users/vogdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogdb/subscriptions","organizations_url":"https://api.github.com/users/vogdb/orgs","repos_url":"https://api.github.com/users/vogdb/repos","events_url":"https://api.github.com/users/vogdb/events{/privacy}","received_events_url":"https://api.github.com/users/vogdb/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-07T11:55:15Z","updated_at":"2015-07-08T20:12:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/CM/pulls/1832","html_url":"https://github.com/cargomedia/CM/pull/1832","diff_url":"https://github.com/cargomedia/CM/pull/1832.diff","patch_url":"https://github.com/cargomedia/CM/pull/1832.patch"},"body":"- Replace `triggerThrow` with normal `throw`\r\n- Introduce configurable global error handler:\r\n - cm.error.ready() [calls setErrorHandler()]\r\n - cm.error.setErrorHandler(Function)\r\n- Remove `Form._stopErrorPropagation`"},"comment":{"url":"https://api.github.com/repos/cargomedia/CM/issues/comments/119717781","html_url":"https://github.com/cargomedia/CM/pull/1832#issuecomment-119717781","issue_url":"https://api.github.com/repos/cargomedia/CM/issues/1832","id":119717781,"user":{"login":"njam","id":360800,"avatar_url":"https://avatars.githubusercontent.com/u/360800?v=3","gravatar_id":"","url":"https://api.github.com/users/njam","html_url":"https://github.com/njam","followers_url":"https://api.github.com/users/njam/followers","following_url":"https://api.github.com/users/njam/following{/other_user}","gists_url":"https://api.github.com/users/njam/gists{/gist_id}","starred_url":"https://api.github.com/users/njam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njam/subscriptions","organizations_url":"https://api.github.com/users/njam/orgs","repos_url":"https://api.github.com/users/njam/repos","events_url":"https://api.github.com/users/njam/events{/privacy}","received_events_url":"https://api.github.com/users/njam/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T20:12:45Z","updated_at":"2015-07-08T20:12:45Z","body":"<img src=\"http://www.rantlifestyle.com/wp-content/uploads/2013/12/Obama1.jpg\" width=\"101\">\r\n\r\nException.js:\r\n- CM_Exception: Why do we set `temp.name`?\r\n- factory: I would throw plain `CM_Exception` here (and use `CM_Exception_Nonexistent` only for missing models and pages, like in php)\r\n- factory: Exception msg: \"No such exception X\" instead of \"No such exception as X\"\r\n- How about assigning new exception explicitly to `global` (instead of doing it in `extend()`) - I think it might be a bit clearer - wdyt?\r\n\r\n@tomaszdurka maybe you wanna take a look here too?"}}