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

I don't have any personal contacts, but it could be worth asking.

Cheers,
Silvia.

On Wed, Nov 18, 2009 at 2:05 AM, Pierre-Antoine
<pierre-antoine.champin@liris.cnrs.fr> wrote:
> 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 22:40:37 UTC