Re: Invalid driver state error

On Mon Nov 17 2014 at 12:17:54 PM Andreas Tolfsen <ato@mozilla.com> wrote:

> On Mon, Nov 17, 2014 at 8:14 PM, Jason Leyba <jleyba@google.com> wrote:
> > Wouldn't this be covered by "unsupported operation"?
>
> I think that would fit well.  Thanks for the quick reply!
>
> But just to clarify: We made the status codes strings so that the raw
> wire protocol could more easily be read by humans, or so that it would
> be possible to extend it?
>

IIRC it was to improve readability.  To support extensions we probably just
need a prefix scheme (e.g. "-moz failure") and graceful fallback to
"unknown error".

Received on Monday, 17 November 2014 20:26:34 UTC