Is it possible to provide a public function to override the errorfn
so that I can redirect error messages to some places other than console?
[erg] If you just want to keep messages from going to the console, call
In general, error handling needs to be redone. A library should not call exit() without involving the application.
[josh] The use of agseterror(AGMAX) doesn't meet my need. What I want to do is to redirect error messages from console to my GUI widget. I searched all public functions in GraphViz and couldn't find one that does
gvc->common.errorfn = my_function;
As you said, you are planning to rewrite the error handling part of GraphViz. Any schedule set?