[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Print error report (RFC)
From: Waldo Bastian <bastian () kde ! org>
Date: 2001-03-31 20:44:37
[Download RAW message or body]
On Saturday 31 March 2001 02:40, Michael Goffioul wrote:
> So my idea was to simply to tell the application something went wrong using
> "bool failed()", and then the application can use "QString failReason()" to
> have more informations. The error message itself is determined in the
> plugin. So is it really necessary to report some kind of enum value (error
> code) as: - the error will be reported using KNotify anyway
> - as the error occured in the plugin, the application won't be able to
> correct it itself. The error will be "structural" (like missing program,
> network error, daemon crash, wrong printer configuration, printer unknown).
If there is no recovery possible then a single boolean will suffice I guess.
Or you might want to keep the possibility open and use an int and only define
"PRINT_OK = 0, PRINT_FATAL_ERROR = 1"
Cheers,
Waldo
--
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic