Re: How to report user errors

2006-03-08 Thread Toby
Jacob Kroon wrote: Let's say the container class had a method which would perform an operation on all of it's children, and that this operation could fail. If an error occures somewhere down in the hierarchy I wan't the caller to be notified, a message, and if it was a child who caused the

How to report user errors

2006-03-07 Thread Jacob Kroon
Hi, I'm trying to lay out a strategy for implementing a way to report errors to users of a library I'm working on. The scenario is pretty similar to a GtkContainer which has multiple children in it, so for easy explanation I'll use it as an example. Let's say the container class had a