
30 Jul
2008
30 Jul
'08
1:52 p.m.
David Abrahams wrote:
on Tue Jul 29 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
The difference between exceptions and asserts are that, while both are errors, exceptions is a system to report error and asserts is a system to check that errors do not occur. So the Error Handling category could be subdivided in Error Reporting (which would also contain error codes and logging) and Error Checking (which would also contain the testing framework).
That might be a good idea.
Actually logging is more "error checking" I guess, since you cannot catch the error and recover from it in the program.