report function name in errors