Re: [mawg] Re: [mawg]Error handling in the API

Le 17/11/2009 10:59, Silvia Pfeiffer a écrit :
> Hi Chris,
> 
> I'd refrain from anything that can interrupt a program flow. Rather,
> there should be a error code returned (that can be ignored) and then
> if needed that error code can be analysed and evasive action taken.
> Throwing exceptions is a bad design for such an interface.
> 
> BTW: do we have experienced programmers with library API design
> experience on the list? If not, somebody from the jquery community or
> similar could be a great addition at this stage of the process!

+1, that would be great!

anyone in mind? :)

  pa

Received on Tuesday, 17 November 2009 15:05:57 UTC