{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js/issues/746","labels_url":"https://api.github.com/repos/processing/p5.js/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/746/comments","events_url":"https://api.github.com/repos/processing/p5.js/issues/746/events","html_url":"https://github.com/processing/p5.js/issues/746","id":87962520,"number":746,"title":"error message for size()","user":{"login":"shiffman","id":191758,"avatar_url":"https://avatars.githubusercontent.com/u/191758?v=3","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/p5.js/labels/area:documentation","name":"area:documentation","color":"009800"},{"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/level:beginner","name":"level:beginner","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"OhJia","id":6025418,"avatar_url":"https://avatars.githubusercontent.com/u/6025418?v=3","gravatar_id":"","url":"https://api.github.com/users/OhJia","html_url":"https://github.com/OhJia","followers_url":"https://api.github.com/users/OhJia/followers","following_url":"https://api.github.com/users/OhJia/following{/other_user}","gists_url":"https://api.github.com/users/OhJia/gists{/gist_id}","starred_url":"https://api.github.com/users/OhJia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OhJia/subscriptions","organizations_url":"https://api.github.com/users/OhJia/orgs","repos_url":"https://api.github.com/users/OhJia/repos","events_url":"https://api.github.com/users/OhJia/events{/privacy}","received_events_url":"https://api.github.com/users/OhJia/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-13T08:30:34Z","updated_at":"2015-07-18T01:05:47Z","closed_at":null,"body":"I believe there are several issues related to friendly error messages like #717 and #657, however, I couldn't find the right place for this.  Someone feel free to move and close if a new issue isn't appropriate.\r\n\r\nI was teaching a short workshop yesterday for some students who knew Processing.  I ran the following code:\r\n\r\n```\r\nfunction setup() {\r\n  size(200, 200);\r\n}\r\n\r\nfunction draw() {\r\n  background(0);\r\n}\r\n```\r\n\r\nAnd showed them the message: `Uncaught size() not implemented, see createCanvas()`.  No one was able to guess what this meant, I propose changing it to something a bit more explicit?  I'm terrible at writing these, but something along the lines of `size() is not a valid p5 function, to create a drawing window please use createCanvas() instead.`"},"comment":{"url":"https://api.github.com/repos/processing/p5.js/issues/comments/122464316","html_url":"https://github.com/processing/p5.js/issues/746#issuecomment-122464316","issue_url":"https://api.github.com/repos/processing/p5.js/issues/746","id":122464316,"user":{"login":"lmccart","id":191056,"avatar_url":"https://avatars.githubusercontent.com/u/191056?v=3","gravatar_id":"","url":"https://api.github.com/users/lmccart","html_url":"https://github.com/lmccart","followers_url":"https://api.github.com/users/lmccart/followers","following_url":"https://api.github.com/users/lmccart/following{/other_user}","gists_url":"https://api.github.com/users/lmccart/gists{/gist_id}","starred_url":"https://api.github.com/users/lmccart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmccart/subscriptions","organizations_url":"https://api.github.com/users/lmccart/orgs","repos_url":"https://api.github.com/users/lmccart/repos","events_url":"https://api.github.com/users/lmccart/events{/privacy}","received_events_url":"https://api.github.com/users/lmccart/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T01:05:47Z","updated_at":"2015-07-18T01:05:47Z","body":"@OhJia are you still interested in working on this one?"}}