[dojo-contributors] Stance on custom error types

Mark Wubben mark at novemberborn.net
Mon Jun 4 15:26:00 EDT 2012


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



More information about the dojo-contributors mailing list