This commit adds a ParsimoniousError class. This replaces the use of Exception as a parent class. This is introduced to simplify code by callers who may want to be able to catch all Parsimonious errors using a single except block but not unrelated exceptions.
This commit adds a
ParsimoniousError
class. This replaces the use ofException
as a parent class. This is introduced to simplify code by callers who may want to be able to catch all Parsimonious errors using a single except block but not unrelated exceptions.