Replies: 2 comments
-
I’m not following exactly what you want… check out the section on delegating backtraces in https://docs.rs/snafu/0.6.10/snafu/guide/attributes/index.html#controlling-backtraces Also, if you own an instance ( |
Beta Was this translation helpful? Give feedback.
0 replies
-
delegating backtraces is what I needed, thanks @shepmaster :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm really enjoying snafu, thanks for creating and maintaining it ❤️
When converting one Snafu error to another one, I want to keep the
Backtrace
.However, I can only acquire a reference using the
backtrace()
function that can not be dereferenced, becauseBacktrace
does not implementCopy
. Is there any way to achieve my intended goal?Beta Was this translation helpful? Give feedback.
All reactions