[ros-kernel] Re: Enhanced error messages

Martin Fuchs martin-fuchs at gmx.net
Mon Jan 5 20:00:20 CET 2004


> imo there is no need for this since the application can check the return 
> value and print it's own error message.

I see this a bit different. We are creating a new operating system and
have the opportunity to make some things a bit better.
Of course each application can generate its own error messages
including for example file paths. But why not do it at the place, where
the error occured and all the needed information is available - in the kernel?

> I haven't seen many applications that actually print out the message text
> returned from FormatMessage().

May be if the error messages would be more precise, there would be
more applications using FormatMessage().

Btw: winefile and my explorer implementation use FormatMessage()
to print error messages, just as example.  ;-)

Regards,

   Martin



More information about the Ros-kernel mailing list