Both cases should include file and line. for closures it is the place where they are defined, in error handling it should point to the line of error handler code.