canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
17 stars 9 forks source link

Add cp.restore() when returning error state #35

Closed Aflynn50 closed 1 year ago

Aflynn50 commented 1 year ago

This PR adds cp.restore() calls before returning an error in the parser so as to keep the state consistent in case the call site decides to ignore the error.