knit_script.knit_script_exceptions.add_exception_information module
Module containting a method to update exceptions with location information about the statement that triggered them.
- add_exception_to_statement(e, element)[source]
Raises a Knit_Script Located Exception located at the given Knit Script Element for easier Knitscript debugging. :type e:
Exception
:param e: the exception to update to fit a KS element. :type e: Exception :type element:KS_Element
:param element: The Knit Script Element used to locate the exception source in the knitscript file. :type element: KS_Element- Return type: