qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

Make sure mentat error types preserve failure backtraces (wip) #287

Open gburd opened 4 years ago

gburd commented 4 years ago

This adds a lot of boilerplate which could be simplified by macros.

I was planning on cleaning this up before pushing it but here it is!

Caveat: I haven't tested this in versions of rust other than whatever i happen to be using by default right now! I did try to make the changes compatible with 1.25.0 (e.g. &/ref noise in matches) but that was just to minimize future work and I might not have been thorough here