recommended error handling

Saaa empty at needmail.com
Mon Apr 7 16:00:25 PDT 2008


 I use a lot of libraries that have some kind of get_error function (eg. 
glGetError).

What is the recommended way to handle errors with those kind of functions?
Maybe let them throw an exception when encountering an error and 
try-catching the main?
(Like in the dsource tutorial)

How do you handle your errors?





More information about the Digitalmars-d-learn mailing list