{"action":"created","comment":{"url":"https://api.github.com/repos/reworkcss/css/pulls/comments/24340086","id":24340086,"diff_hunk":"@@ -56,13 +56,23 @@ result.map // source map object\n \n ### Errors\n \n-Errors will have `error.position`, just like [`node.position`](#position). The\n-error contains the source position in the message. To get the error message\n-without the position use `error.reason`.\n+Errors thrown during parsing have the following properties:\n+\n+- `message`: `String`. The full error message with the source position.\n+- `reason`: `String`. The error message without position.\n+- `filename`: `String` or `undefined`. The value of `options.source` if\n+  passed to `css.parse`. Otherwise `undefined`.\n+- `line`: `Integer`.\n+- `column`: `Integer`.\n+- `source`: `String`. The portion of code that couldn't be parsed.\n+\n+When parsing with the `silent` option, errors are listed in the\n+`parsingErrors` property of the [`stylesheed`](#stylesheet) object instead","path":"Readme.md","position":18,"original_position":18,"commit_id":"25048b41bc379bb398950912341e4f94905d87fc","original_commit_id":"25048b41bc379bb398950912341e4f94905d87fc","user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"body":"Nice catch!","created_at":"2015-02-09T16:18:12Z","updated_at":"2015-02-09T16:18:12Z","html_url":"https://github.com/reworkcss/css/pull/64#discussion_r24340086","pull_request_url":"https://api.github.com/repos/reworkcss/css/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/reworkcss/css/pulls/comments/24340086"},"html":{"href":"https://github.com/reworkcss/css/pull/64#discussion_r24340086"},"pull_request":{"href":"https://api.github.com/repos/reworkcss/css/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/reworkcss/css/pulls/64","id":28864447,"html_url":"https://github.com/reworkcss/css/pull/64","diff_url":"https://github.com/reworkcss/css/pull/64.diff","patch_url":"https://github.com/reworkcss/css/pull/64.patch","issue_url":"https://api.github.com/repos/reworkcss/css/issues/64","number":64,"state":"open","locked":false,"title":"Add a listError option for parsing","user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"body":"Pull request for #59.","created_at":"2015-02-07T13:54:02Z","updated_at":"2015-02-09T16:18:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02fd96e7724d359b1db4c2e722211a810e85f85e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reworkcss/css/pulls/64/commits","review_comments_url":"https://api.github.com/repos/reworkcss/css/pulls/64/comments","review_comment_url":"https://api.github.com/repos/reworkcss/css/pulls/comments/{number}","comments_url":"https://api.github.com/repos/reworkcss/css/issues/64/comments","statuses_url":"https://api.github.com/repos/reworkcss/css/statuses/25048b41bc379bb398950912341e4f94905d87fc","head":{"label":"gmetais:listErrors","ref":"listErrors","sha":"25048b41bc379bb398950912341e4f94905d87fc","user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"repo":{"id":28563500,"name":"css","full_name":"gmetais/css","owner":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmetais/css","description":"CSS parser / stringifier for Node.js","fork":true,"url":"https://api.github.com/repos/gmetais/css","forks_url":"https://api.github.com/repos/gmetais/css/forks","keys_url":"https://api.github.com/repos/gmetais/css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmetais/css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmetais/css/teams","hooks_url":"https://api.github.com/repos/gmetais/css/hooks","issue_events_url":"https://api.github.com/repos/gmetais/css/issues/events{/number}","events_url":"https://api.github.com/repos/gmetais/css/events","assignees_url":"https://api.github.com/repos/gmetais/css/assignees{/user}","branches_url":"https://api.github.com/repos/gmetais/css/branches{/branch}","tags_url":"https://api.github.com/repos/gmetais/css/tags","blobs_url":"https://api.github.com/repos/gmetais/css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmetais/css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmetais/css/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmetais/css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmetais/css/statuses/{sha}","languages_url":"https://api.github.com/repos/gmetais/css/languages","stargazers_url":"https://api.github.com/repos/gmetais/css/stargazers","contributors_url":"https://api.github.com/repos/gmetais/css/contributors","subscribers_url":"https://api.github.com/repos/gmetais/css/subscribers","subscription_url":"https://api.github.com/repos/gmetais/css/subscription","commits_url":"https://api.github.com/repos/gmetais/css/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmetais/css/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmetais/css/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmetais/css/issues/comments/{number}","contents_url":"https://api.github.com/repos/gmetais/css/contents/{+path}","compare_url":"https://api.github.com/repos/gmetais/css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmetais/css/merges","archive_url":"https://api.github.com/repos/gmetais/css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmetais/css/downloads","issues_url":"https://api.github.com/repos/gmetais/css/issues{/number}","pulls_url":"https://api.github.com/repos/gmetais/css/pulls{/number}","milestones_url":"https://api.github.com/repos/gmetais/css/milestones{/number}","notifications_url":"https://api.github.com/repos/gmetais/css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmetais/css/labels{/name}","releases_url":"https://api.github.com/repos/gmetais/css/releases{/id}","created_at":"2014-12-28T14:18:45Z","updated_at":"2015-02-07T14:00:03Z","pushed_at":"2015-02-09T15:03:50Z","git_url":"git://github.com/gmetais/css.git","ssh_url":"git@github.com:gmetais/css.git","clone_url":"https://github.com/gmetais/css.git","svn_url":"https://github.com/gmetais/css","homepage":"","size":556,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reworkcss:master","ref":"master","sha":"1854d0c885a6037e4974a34b9c023a099ada0ede","user":{"login":"reworkcss","id":5658224,"avatar_url":"https://avatars.githubusercontent.com/u/5658224?v=3","gravatar_id":"","url":"https://api.github.com/users/reworkcss","html_url":"https://github.com/reworkcss","followers_url":"https://api.github.com/users/reworkcss/followers","following_url":"https://api.github.com/users/reworkcss/following{/other_user}","gists_url":"https://api.github.com/users/reworkcss/gists{/gist_id}","starred_url":"https://api.github.com/users/reworkcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reworkcss/subscriptions","organizations_url":"https://api.github.com/users/reworkcss/orgs","repos_url":"https://api.github.com/users/reworkcss/repos","events_url":"https://api.github.com/users/reworkcss/events{/privacy}","received_events_url":"https://api.github.com/users/reworkcss/received_events","type":"Organization","site_admin":false},"repo":{"id":5103385,"name":"css","full_name":"reworkcss/css","owner":{"login":"reworkcss","id":5658224,"avatar_url":"https://avatars.githubusercontent.com/u/5658224?v=3","gravatar_id":"","url":"https://api.github.com/users/reworkcss","html_url":"https://github.com/reworkcss","followers_url":"https://api.github.com/users/reworkcss/followers","following_url":"https://api.github.com/users/reworkcss/following{/other_user}","gists_url":"https://api.github.com/users/reworkcss/gists{/gist_id}","starred_url":"https://api.github.com/users/reworkcss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reworkcss/subscriptions","organizations_url":"https://api.github.com/users/reworkcss/orgs","repos_url":"https://api.github.com/users/reworkcss/repos","events_url":"https://api.github.com/users/reworkcss/events{/privacy}","received_events_url":"https://api.github.com/users/reworkcss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reworkcss/css","description":"CSS parser / stringifier for Node.js","fork":false,"url":"https://api.github.com/repos/reworkcss/css","forks_url":"https://api.github.com/repos/reworkcss/css/forks","keys_url":"https://api.github.com/repos/reworkcss/css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reworkcss/css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reworkcss/css/teams","hooks_url":"https://api.github.com/repos/reworkcss/css/hooks","issue_events_url":"https://api.github.com/repos/reworkcss/css/issues/events{/number}","events_url":"https://api.github.com/repos/reworkcss/css/events","assignees_url":"https://api.github.com/repos/reworkcss/css/assignees{/user}","branches_url":"https://api.github.com/repos/reworkcss/css/branches{/branch}","tags_url":"https://api.github.com/repos/reworkcss/css/tags","blobs_url":"https://api.github.com/repos/reworkcss/css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reworkcss/css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reworkcss/css/git/refs{/sha}","trees_url":"https://api.github.com/repos/reworkcss/css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reworkcss/css/statuses/{sha}","languages_url":"https://api.github.com/repos/reworkcss/css/languages","stargazers_url":"https://api.github.com/repos/reworkcss/css/stargazers","contributors_url":"https://api.github.com/repos/reworkcss/css/contributors","subscribers_url":"https://api.github.com/repos/reworkcss/css/subscribers","subscription_url":"https://api.github.com/repos/reworkcss/css/subscription","commits_url":"https://api.github.com/repos/reworkcss/css/commits{/sha}","git_commits_url":"https://api.github.com/repos/reworkcss/css/git/commits{/sha}","comments_url":"https://api.github.com/repos/reworkcss/css/comments{/number}","issue_comment_url":"https://api.github.com/repos/reworkcss/css/issues/comments/{number}","contents_url":"https://api.github.com/repos/reworkcss/css/contents/{+path}","compare_url":"https://api.github.com/repos/reworkcss/css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reworkcss/css/merges","archive_url":"https://api.github.com/repos/reworkcss/css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reworkcss/css/downloads","issues_url":"https://api.github.com/repos/reworkcss/css/issues{/number}","pulls_url":"https://api.github.com/repos/reworkcss/css/pulls{/number}","milestones_url":"https://api.github.com/repos/reworkcss/css/milestones{/number}","notifications_url":"https://api.github.com/repos/reworkcss/css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reworkcss/css/labels{/name}","releases_url":"https://api.github.com/repos/reworkcss/css/releases{/id}","created_at":"2012-07-18T23:52:18Z","updated_at":"2015-02-09T16:17:21Z","pushed_at":"2015-02-09T16:17:21Z","git_url":"git://github.com/reworkcss/css.git","ssh_url":"git@github.com:reworkcss/css.git","clone_url":"https://github.com/reworkcss/css.git","svn_url":"https://github.com/reworkcss/css","homepage":"","size":556,"stargazers_count":305,"watchers_count":305,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":13,"forks":40,"open_issues":13,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reworkcss/css/pulls/64"},"html":{"href":"https://github.com/reworkcss/css/pull/64"},"issue":{"href":"https://api.github.com/repos/reworkcss/css/issues/64"},"comments":{"href":"https://api.github.com/repos/reworkcss/css/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/reworkcss/css/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/reworkcss/css/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/reworkcss/css/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/reworkcss/css/statuses/25048b41bc379bb398950912341e4f94905d87fc"}}}}