oxidecomputer / amd-apcb

AMD Generic Encapsulated Software Architecture Platform Security Processor Configuration Block manipulation library
Mozilla Public License 2.0
13 stars 1 forks source link

Add std error functionality #89

Closed daym closed 1 year ago

daym commented 1 year ago

Right now, amd-apcb's Error type is very rudimentary.

On bare metal, that's what we want. But for regular std environment, it would be nice to have a respective thiserror message string associated with each variant of the Error enum, for user-friendlyness.