This commit centralizes error formating into the OTKError and
adds support for takingthe parser "state". This allows us to
consistently give better error information like what file
broke and (potentially in the future) more details.
Note that this now requires that all OTKError exceptions pass a
message.
Note that there are two untested errors left, I will try to get to them
This commit centralizes error formating into the OTKError and adds support for takingthe parser "state". This allows us to consistently give better error information like what file broke and (potentially in the future) more details.
Note that this now requires that all OTKError exceptions pass a message.
Note that there are two untested errors left, I will try to get to them