Closed ShadowCurse closed 1 year ago
Some work in this regard is ongoing.
Note that when a manual implementation of Display
is changed to one derived by thiserror
, tests that only exist to mark the manual Display
implementation as covered from a code coverage standpoint (such as this one) should be removed, as grcov will not consider proc-macro generated code, and proc-macro processed attributes in its coverage reports
Hey! I am a Computer Science student at the University of Texas at Austin taking a Virtualization course. My two groupmates and I were wondering if we could contribute to resolving this issue. Please let me know if this would be possible and we can get started.
Hi @sri-srikanth, you are welcome to work on this issue.
Currently most error enums in Firecracker use
thiserror::Error
to automatically implementError
andDisplay
andFrom
traits. But there are some that still don't usethiserror
and have 50+ lines of implementations ofDisplay
trait or usederive_more::From
The goal of this issue is to make all Error structs/enums in Firecracker uniform.