Skip to content

Commit

Permalink
kms: use HostError as default return error
Browse files Browse the repository at this point in the history
This commit changes the returned error type
for all `Client` API calls to `HostError`.

This allows callers to obtain the host information
from the returned error using `AsHostError` and
`UnwrapHostErrors`.

Signed-off-by: Andreas Auernhammer <[email protected]>
  • Loading branch information
aead committed Jan 26, 2024
1 parent 7d650b4 commit 12137d2
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 248 deletions.
Loading

0 comments on commit 12137d2

Please sign in to comment.