[dojo-contributors] Stance on custom error types

Tom Trenka ttrenka at gmail.com
Mon Jun 4 16:04:09 EDT 2012


Yeah, sorry Mark.  I'm thinking in advance and trying to anticipate
objections to the idea =)

On Mon, Jun 4, 2012 at 2:26 PM, Mark Wubben <mark at novemberborn.net> wrote:

> On 4 Jun 2012, at 17:08, Tom Trenka wrote:
>
> > I prefer custom error types as well, but I can see there being a problem
> with defining them using the typical one-object-per-module scheme.  Perhaps
> something to implement in 2.0?
>
> Easily solved by defining it in a separate module, like I did with
> CancelError? And if we define it in the correct module it can be shared by
> many other modules.
>
> --
> Mark Wubben
>
> http://novemberborn.net
> http://twitter.com/novemberborn
>
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20120604/14f6712f/attachment.htm 


More information about the dojo-contributors mailing list