[openbeos] Re: [Haiku-commits] r13990 - haiku/trunk/src/add-ons/translators/jpegtranslator

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 19 Aug 2005 18:02:53 +0200 CEST

Joseph Galbraith <galb@xxxxxxxxxxx> wrote:
> Just out of curiosity, what happens if a gui app (with no
> console) writes to stderr?

It's more or less ignored (usually goes to /dev/null).

> Also, is it not possible to return a more descriptive
> error code than B_ERROR?

Definitely.

> Optimally, the translator would be communicating this
> error back to the application which would report it
> however is most appropriate for the application.

Indeed, that's the idea behind error codes - they might not always 
carry enough information to please the user, though :-)

Bye,
   Axel.


Other related posts: