[draft as I think this should be two commits and also it lacks dedicated tests, also there should probably a "state.make_error_prefix()" helper or something so that this is all in one place and externals should also be covered but I still wanted to open it so that it's not forgoten]
This commit adds the current file that was processed in all otk exceptions. This way it's easier for the user to spot where something went wrong.
This will now produce errors like:
[draft as I think this should be two commits and also it lacks dedicated tests, also there should probably a "state.make_error_prefix()" helper or something so that this is all in one place and externals should also be covered but I still wanted to open it so that it's not forgoten]