Closed mvo5 closed 1 month ago
otk: add file to variable substitution errors too
This commit adds file context for errors from variable substitution too.
context: tweak erros and add tests for context lookup errors
This commit tweaks the error message for the conext generated errors and adds tests.
otk: include state in errors from externals
state
When an external fails, include the file that called the external as well by just reusing the new OTKError(state=state) exceptions.
This also adds a test for the external errors and tweaks the exception a bit based on the test output.
otk: add file to variable substitution errors too
This commit adds file context for errors from variable substitution too.
context: tweak erros and add tests for context lookup errors
This commit tweaks the error message for the conext generated errors and adds tests.
otk: include
state
in errors from externalsWhen an external fails, include the file that called the external as well by just reusing the new OTKError(state=state) exceptions.
This also adds a test for the external errors and tweaks the exception a bit based on the test output.