We're writing an in-house program that will also be referenced from other programs and I'm wondering about the best practice for error handling.
The program throws exceptions, is it best to handle these within the program or could we leave it for other programs to pick these errors up, if we leave it for other programs then should we use delegates for the exceptions?
I know it seems strange to ask about not handling the errors in the program but it is really a dll with an interface to collect some registry settings and to avoid the dll-hell problems.
The program throws exceptions, is it best to handle these within the program or could we leave it for other programs to pick these errors up, if we leave it for other programs then should we use delegates for the exceptions?
I know it seems strange to ask about not handling the errors in the program but it is really a dll with an interface to collect some registry settings and to avoid the dll-hell problems.