{"action":"opened","issue":{"url":"https://api.github.com/repos/thomasjbradley/markbot/issues/29","repository_url":"https://api.github.com/repos/thomasjbradley/markbot","labels_url":"https://api.github.com/repos/thomasjbradley/markbot/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/thomasjbradley/markbot/issues/29/comments","events_url":"https://api.github.com/repos/thomasjbradley/markbot/issues/29/events","html_url":"https://github.com/thomasjbradley/markbot/issues/29","id":136672205,"number":29,"title":"Custom error messages for search & elements","user":{"login":"thomasjbradley","id":105192,"avatar_url":"https://avatars.githubusercontent.com/u/105192?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasjbradley","html_url":"https://github.com/thomasjbradley","followers_url":"https://api.github.com/users/thomasjbradley/followers","following_url":"https://api.github.com/users/thomasjbradley/following{/other_user}","gists_url":"https://api.github.com/users/thomasjbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasjbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasjbradley/subscriptions","organizations_url":"https://api.github.com/users/thomasjbradley/orgs","repos_url":"https://api.github.com/users/thomasjbradley/repos","events_url":"https://api.github.com/users/thomasjbradley/events{/privacy}","received_events_url":"https://api.github.com/users/thomasjbradley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thomasjbradley/markbot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-26T11:33:05Z","updated_at":"2016-02-26T11:33:05Z","closed_at":null,"body":"Allow custom error messages for the `search` & `has` keys to help alleviate some confusion. Error messages like this can be a little confusing:\r\n\r\n![screen shot 2016-02-26 at 6 32 15 am](https://cloud.githubusercontent.com/assets/105192/13351153/b710cf7a-dc52-11e5-881e-68c7a5207888.png)\r\n\r\nMaybe something like this:\r\n\r\n```yml\r\nsearch:\r\n  - ['header nav li a[class][href*=\"blueberries.html\"]', 'The navigation highlighted']\r\n```\r\n\r\n```\r\nExpected to see: The navigation highlighted\r\n```"}}