{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js/issues/647","labels_url":"https://api.github.com/repos/processing/p5.js/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/647/comments","events_url":"https://api.github.com/repos/processing/p5.js/issues/647/events","html_url":"https://github.com/processing/p5.js/pull/647","id":81648534,"number":647,"title":"Friendly Error Messages","user":{"login":"crhallberg","id":451107,"avatar_url":"https://avatars.githubusercontent.com/u/451107?v=3","gravatar_id":"","url":"https://api.github.com/users/crhallberg","html_url":"https://github.com/crhallberg","followers_url":"https://api.github.com/users/crhallberg/followers","following_url":"https://api.github.com/users/crhallberg/following{/other_user}","gists_url":"https://api.github.com/users/crhallberg/gists{/gist_id}","starred_url":"https://api.github.com/users/crhallberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crhallberg/subscriptions","organizations_url":"https://api.github.com/users/crhallberg/orgs","repos_url":"https://api.github.com/users/crhallberg/repos","events_url":"https://api.github.com/users/crhallberg/events{/privacy}","received_events_url":"https://api.github.com/users/crhallberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/p5.js/labels/discussion","name":"discussion","color":"006b75"},{"url":"https://api.github.com/repos/processing/p5.js/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/processing/p5.js/labels/feature","name":"feature","color":"000000"},{"url":"https://api.github.com/repos/processing/p5.js/labels/help%20wanted","name":"help wanted","color":"aa44dd"}],"state":"open","locked":false,"assignee":{"login":"crhallberg","id":451107,"avatar_url":"https://avatars.githubusercontent.com/u/451107?v=3","gravatar_id":"","url":"https://api.github.com/users/crhallberg","html_url":"https://github.com/crhallberg","followers_url":"https://api.github.com/users/crhallberg/followers","following_url":"https://api.github.com/users/crhallberg/following{/other_user}","gists_url":"https://api.github.com/users/crhallberg/gists{/gist_id}","starred_url":"https://api.github.com/users/crhallberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crhallberg/subscriptions","organizations_url":"https://api.github.com/users/crhallberg/orgs","repos_url":"https://api.github.com/users/crhallberg/repos","events_url":"https://api.github.com/users/crhallberg/events{/privacy}","received_events_url":"https://api.github.com/users/crhallberg/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-05-27T22:16:37Z","updated_at":"2015-05-29T17:05:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/processing/p5.js/pulls/647","html_url":"https://github.com/processing/p5.js/pull/647","diff_url":"https://github.com/processing/p5.js/pull/647.diff","patch_url":"https://github.com/processing/p5.js/pull/647.patch"},"body":"Helpful error messages with friendly language and colorful theming.\r\n\r\nHackpad: https://p5jscon.hackpad.com/Error-Reporting-6UAUU37d6j9\r\n\r\n![errrors](https://cloud.githubusercontent.com/assets/451107/7848752/a12b554c-049c-11e5-8025-f5c3110b64c8.jpg)\r\n\r\nThese will only appear when using p5.js, not p5.min.js (although this feature isn't done yet).\r\n\r\nDiscussion:\r\n - [ ] Colors of messages (magenta [angry?] vs cyan [colorblind bad] vs navy [branding?]\r\n - [ ] Errors that would require more particular explanation\r\n\r\nTodo:\r\n - [ ] Cross Domain error\r\n - [ ] Remove from minified (replace with noop functions)\r\n\r\nSorry for the early commits, my workflow was broken."},"comment":{"url":"https://api.github.com/repos/processing/p5.js/issues/comments/106872109","html_url":"https://github.com/processing/p5.js/pull/647#issuecomment-106872109","issue_url":"https://api.github.com/repos/processing/p5.js/issues/647","id":106872109,"user":{"login":"crhallberg","id":451107,"avatar_url":"https://avatars.githubusercontent.com/u/451107?v=3","gravatar_id":"","url":"https://api.github.com/users/crhallberg","html_url":"https://github.com/crhallberg","followers_url":"https://api.github.com/users/crhallberg/followers","following_url":"https://api.github.com/users/crhallberg/following{/other_user}","gists_url":"https://api.github.com/users/crhallberg/gists{/gist_id}","starred_url":"https://api.github.com/users/crhallberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crhallberg/subscriptions","organizations_url":"https://api.github.com/users/crhallberg/orgs","repos_url":"https://api.github.com/users/crhallberg/repos","events_url":"https://api.github.com/users/crhallberg/events{/privacy}","received_events_url":"https://api.github.com/users/crhallberg/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T17:05:43Z","updated_at":"2015-05-29T17:05:43Z","body":"Lauren: I added that blue to the comments where the colors are. If you'd prefer it over any of the dark colors, let me know."}}