Re: Error handling

On Tue, 6 Sep 2011, Justin Uberti wrote:
> > > >
> > > > - an internal failure occurs while processing an arbitrary API 
> > > > call
> >
> > Internal failures are bugs, we can't very well specify what should 
> > happen in the case of bugs. :-)
> 
> Is failing silently really the best thing to do, as opposed to throwing 
> some generic exception?

If we're going to require something here, we would just require that there 
not be an internal failure.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 6 September 2011 21:21:53 UTC