{"action":"created","issue":{"url":"https://api.github.com/repos/novoda/notils/issues/51","repository_url":"https://api.github.com/repos/novoda/notils","labels_url":"https://api.github.com/repos/novoda/notils/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/novoda/notils/issues/51/comments","events_url":"https://api.github.com/repos/novoda/notils/issues/51/events","html_url":"https://github.com/novoda/notils/issues/51","id":48104906,"number":51,"title":"Make DeveloperError final","user":{"login":"ataulm","id":2678555,"avatar_url":"https://avatars.githubusercontent.com/u/2678555?v=3","gravatar_id":"","url":"https://api.github.com/users/ataulm","html_url":"https://github.com/ataulm","followers_url":"https://api.github.com/users/ataulm/followers","following_url":"https://api.github.com/users/ataulm/following{/other_user}","gists_url":"https://api.github.com/users/ataulm/gists{/gist_id}","starred_url":"https://api.github.com/users/ataulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataulm/subscriptions","organizations_url":"https://api.github.com/users/ataulm/orgs","repos_url":"https://api.github.com/users/ataulm/repos","events_url":"https://api.github.com/users/ataulm/events{/privacy}","received_events_url":"https://api.github.com/users/ataulm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-07T17:00:21Z","updated_at":"2016-04-27T10:57:40Z","closed_at":null,"body":"DeveloperError is a fail-fast mechanism which should be useful during development, similar to asserts.\r\n\r\nThere's no need to extend DeveloperError - they should never be caught and handled (just fix what you dun goofed on), so they don't need specific types to indicate different types of error.\r\n\r\nAn example of where you might use a DeveloperError is in the default case of a switch statement where you're handling different loaders in the same activity - a case for each loader ID, and the default case throws DeveloperError(\"unknown loader id - did you forget to handle a loader that you initialised?\")."},"comment":{"url":"https://api.github.com/repos/novoda/notils/issues/comments/215049108","html_url":"https://github.com/novoda/notils/issues/51#issuecomment-215049108","issue_url":"https://api.github.com/repos/novoda/notils/issues/51","id":215049108,"user":{"login":"blundell","id":655860,"avatar_url":"https://avatars.githubusercontent.com/u/655860?v=3","gravatar_id":"","url":"https://api.github.com/users/blundell","html_url":"https://github.com/blundell","followers_url":"https://api.github.com/users/blundell/followers","following_url":"https://api.github.com/users/blundell/following{/other_user}","gists_url":"https://api.github.com/users/blundell/gists{/gist_id}","starred_url":"https://api.github.com/users/blundell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blundell/subscriptions","organizations_url":"https://api.github.com/users/blundell/orgs","repos_url":"https://api.github.com/users/blundell/repos","events_url":"https://api.github.com/users/blundell/events{/privacy}","received_events_url":"https://api.github.com/users/blundell/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T10:57:40Z","updated_at":"2016-04-27T10:57:40Z","body":"would someone want to extend it with `LegacyDeveloperError` and `ApiTeamDeveloperError` or whatever? What I mean is, what is the benefit of locking it down, how do we know how someone else will use our api?"}}