zaphod.b
7th April 2014, 12:57
Hi all,
I'm looking for your advice on error handling strategy; best practice kind of.
My application is a QWizard inheritor. All kinds of errors will eventually need be logged, categorized presumably. A subset of errors will additionally redirect the wizard to an error page and display there.
I'm undecided about how to implement this: Is interception by qInstallMessageHandler() a good idea? Or should I drop this idea and implement something myself? Any technical reasons at all? Or just a matter of style?
I'm looking for your advice on error handling strategy; best practice kind of.
My application is a QWizard inheritor. All kinds of errors will eventually need be logged, categorized presumably. A subset of errors will additionally redirect the wizard to an error page and display there.
I'm undecided about how to implement this: Is interception by qInstallMessageHandler() a good idea? Or should I drop this idea and implement something myself? Any technical reasons at all? Or just a matter of style?