Please implement such an on_error method!
This would allow to work out a stackwalk to catch eventual DLL-Errors with the correct(!!) function name.