All,
Would anyone find a generic error handler useful? Instead of win::gui
displaying the message box when an error occurs it would instead call a
function passing in the error string. This would allow the application to do
logging or respond in other ways.
Thoughts?
Cheers,
jez.
Sounds pretty reasonable. For backward compatibility, it should
probably be done as a hook type setting... if the hook is called and
provides an error handler, then the error handler is used, otherwise the
message box gets displayed. And maybe the error handler returns a value
that says wheth
2 matches
Mail list logo