{"action":"created","issue":{"url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24","labels_url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24/comments","events_url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24/events","html_url":"https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24","id":70482408,"number":24,"title":"Descriptive error messages (hopefully an object!) to get which package gives conflicts","user":{"login":"miyagawa","id":3499,"avatar_url":"https://avatars.githubusercontent.com/u/3499?v=3","gravatar_id":"","url":"https://api.github.com/users/miyagawa","html_url":"https://github.com/miyagawa","followers_url":"https://api.github.com/users/miyagawa/followers","following_url":"https://api.github.com/users/miyagawa/following{/other_user}","gists_url":"https://api.github.com/users/miyagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/miyagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyagawa/subscriptions","organizations_url":"https://api.github.com/users/miyagawa/orgs","repos_url":"https://api.github.com/users/miyagawa/repos","events_url":"https://api.github.com/users/miyagawa/events{/privacy}","received_events_url":"https://api.github.com/users/miyagawa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T18:38:38Z","updated_at":"2015-04-27T02:10:14Z","closed_at":null,"body":"Right now when merging two requirements, all I get is a string error saying \"illegal requirements: minimum exceeds maximum at ...\" with a giant stacktrace.\r\n\r\nThis isn't really helpful to present to users (using cpanm or Carmel), I'd like to display which requirement for which module gets a conflict. That should actually be doable if I walk down each module individually (because I have access to old and new requirement to add), but when calling `->add_requirements`, the error message doesn't give any clue which module has the conflict.\r\n\r\nFor now like said above, I'll write my own merge wrapper to try to get them, but would be nice if the error message is more descriptive from CMR!"},"comment":{"url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/comments/96466615","html_url":"https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24#issuecomment-96466615","issue_url":"https://api.github.com/repos/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues/24","id":96466615,"user":{"login":"rjbs","id":30682,"avatar_url":"https://avatars.githubusercontent.com/u/30682?v=3","gravatar_id":"","url":"https://api.github.com/users/rjbs","html_url":"https://github.com/rjbs","followers_url":"https://api.github.com/users/rjbs/followers","following_url":"https://api.github.com/users/rjbs/following{/other_user}","gists_url":"https://api.github.com/users/rjbs/gists{/gist_id}","starred_url":"https://api.github.com/users/rjbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjbs/subscriptions","organizations_url":"https://api.github.com/users/rjbs/orgs","repos_url":"https://api.github.com/users/rjbs/repos","events_url":"https://api.github.com/users/rjbs/events{/privacy}","received_events_url":"https://api.github.com/users/rjbs/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T02:10:14Z","updated_at":"2015-04-27T02:10:14Z","body":"I've just pushed up a \"detailed-errors\" branch.  Could you let me know what you think?  Give it a spin."}}