Replies: 1 comment 1 reply
-
You have two choices: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @zkat. All my errors are annotated with
#[derive(Diagnostic)]
and 'serde' is enabled at the crate level of miette. I can easily create a report from this type of error viainto()
. However, I have not found how to obtain a serializableMietteDiagnostic
from this report or directly from the error. Thanks in advance. This crate is fantastic!Beta Was this translation helpful? Give feedback.
All reactions