Skip to content

Allow to compare kms errors with errors.Is#462

Merged
maraino merged 1 commit intomasterfrom
mariano/error-is
Mar 21, 2024
Merged

Allow to compare kms errors with errors.Is#462
maraino merged 1 commit intomasterfrom
mariano/error-is

Conversation

@maraino
Copy link
Copy Markdown
Contributor

@maraino maraino commented Mar 21, 2024

This commit implements the "Is(target error) bool" interface to apiv1 errors so we can compare them with errors.Is even if the message is not empty.

@maraino maraino requested a review from areed March 21, 2024 18:52
This commit implements the "Is(target error) bool" interface to apiv1
errors so we can compare them with errors.Is even if the message is not
empty.
@maraino maraino merged commit ac197b0 into master Mar 21, 2024
@maraino maraino deleted the mariano/error-is branch March 21, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants