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 23, 2024
1 parent 570613c commit e0ba2f8
Showing 1 changed file with 780 additions and 310 deletions.
Loading

0 comments on commit e0ba2f8

Please sign in to comment.