That said, the error branch does contain significant work towards
improving this, so we could write a
use Moose::Errors qw(:short);
or something like that which tries to make DWIM, non developer error
messages. This wouldn't be too hard once the branch is integrated
On Thu, Jul 17, 2008 at 14:47:56 -0400, Stevan Little via RT wrote:
Show quoted text> Queue: Moose
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=37760 >
>
> I think that only reporting errors from the perspective of non-Moose modules would be
> hurtful in many cases with Moose. Not having the Moose context will make the errors even
> more cryptic and certainly make it very difficult for error diagnosis by someone who knows
> the internals. Moose is just not that simple a module where the internals part of a stack trace
> can be ignored by casual users when an error arises, or where all the possible combinations
> of error conditions can be determined in advance and handled more specifically so as to not
> show the Moose guts.
>
> If you feel differently I am open to debate on this subject, however I think that debate is
> better taken to the mailing list (moose@perl.org) or to IRC #moose@irc.perl.org as specifified
> in the "FEATURE_REQUESTS " section of the Moose POD
> (
http://search.cpan.org/~stevan/Moose-0.54/lib/Moose.pm#FEATURE_REQUESTS).
>
> Thanks,
>
> - Stevan
--
Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org 0xEBD27418