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

Open
opened 2020-08-06 16:57:54 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:57:54 +00:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#287
No description provided.