[dojo-contributors] Stance on custom error types

Mark Wubben mark at novemberborn.net
Wed Jun 6 08:30:45 EDT 2012


On 6 Jun 2012, at 12:46, Bryan Forbes wrote:

> It looks good, however I'm working on some changes to the internals to
> dojo/request which would change how errors are passed around. I like
> dojo/errors and will move the errors I have created locally to that
> directory.

Should I remove the dojo/request changes from my patch?

Also, depending on how many error objects we create, should we just add a utility to take care of the subclassing? Much like <https://github.com/promised-io/core/blob/master/lib/errorFactory.js>.

--
Mark Wubben

http://novemberborn.net
http://twitter.com/novemberborn



More information about the dojo-contributors mailing list