|
On 14/01/13 14:55, Wolfgang Pupp wrote:
My suggestion is to not only allow strings as "message"-argument, but also functions; if a function is supplied it only gets called when the assertion actually fails and is expected to return a string describing the problem. Example:
And what to do when your error handling function errors? Yes, I do have bugs in my debugging code :\ Jorge