Skip to content

Commit

Permalink
tpm: Add error context for every possible error
Browse files Browse the repository at this point in the history
Add granular error types for every possible error raised by the tpm
module. This improves diagnosing the cause of the errors without showing
complex errors coming from underlying libraries.

This also drops all 'expect()` and `unwrap()` uses to avoid panicking.

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki committed Jan 22, 2024
1 parent 570613c commit 30ed004
Showing 1 changed file with 792 additions and 312 deletions.
Loading

0 comments on commit 30ed004

Please sign in to comment.