{"action":"created","issue":{"url":"https://api.github.com/repos/Respect/Validation/issues/416","labels_url":"https://api.github.com/repos/Respect/Validation/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/Respect/Validation/issues/416/comments","events_url":"https://api.github.com/repos/Respect/Validation/issues/416/events","html_url":"https://github.com/Respect/Validation/issues/416","id":108616453,"number":416,"title":"Custom Error","user":{"login":"silverpark","id":726933,"avatar_url":"https://avatars.githubusercontent.com/u/726933?v=3","gravatar_id":"","url":"https://api.github.com/users/silverpark","html_url":"https://github.com/silverpark","followers_url":"https://api.github.com/users/silverpark/followers","following_url":"https://api.github.com/users/silverpark/following{/other_user}","gists_url":"https://api.github.com/users/silverpark/gists{/gist_id}","starred_url":"https://api.github.com/users/silverpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverpark/subscriptions","organizations_url":"https://api.github.com/users/silverpark/orgs","repos_url":"https://api.github.com/users/silverpark/repos","events_url":"https://api.github.com/users/silverpark/events{/privacy}","received_events_url":"https://api.github.com/users/silverpark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Respect/Validation/labels/Support","name":"Support","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T09:03:18Z","updated_at":"2015-09-28T15:32:02Z","closed_at":null,"body":"Hi,\r\n\r\nI would like add a Custom Messages about error of validation but I can't custom mandatory error.\r\n```\r\n$errors = $e->findMessages([\r\n                'mandatory'    => 'Yes',\r\n]);\r\n```\r\n\r\nCould you said me how to do ? \r\n\r\nCould you help me how to show ``{{key}}`` of array validation error ? Because in the documentation just ``{{name}}`` and ``{{input}}`` is available (ref doc : ``For all messages, the {{name}} and {{input}} variable is available for templates.``)\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/Respect/Validation/issues/comments/143779571","html_url":"https://github.com/Respect/Validation/issues/416#issuecomment-143779571","issue_url":"https://api.github.com/repos/Respect/Validation/issues/416","id":143779571,"user":{"login":"henriquemoody","id":154023,"avatar_url":"https://avatars.githubusercontent.com/u/154023?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquemoody","html_url":"https://github.com/henriquemoody","followers_url":"https://api.github.com/users/henriquemoody/followers","following_url":"https://api.github.com/users/henriquemoody/following{/other_user}","gists_url":"https://api.github.com/users/henriquemoody/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquemoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquemoody/subscriptions","organizations_url":"https://api.github.com/users/henriquemoody/orgs","repos_url":"https://api.github.com/users/henriquemoody/repos","events_url":"https://api.github.com/users/henriquemoody/events{/privacy}","received_events_url":"https://api.github.com/users/henriquemoody/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T15:32:02Z","updated_at":"2015-09-28T15:32:02Z","body":"I'm sorry, but I could not understand your need properly, could you give an example and be more specific about your needs?"}}