Skip to content

chore: wrap address book loading errors with %w#742

Open
bravesasha wants to merge 1 commit intocartesi:mainfrom
bravesasha:patch-1
Open

chore: wrap address book loading errors with %w#742
bravesasha wants to merge 1 commit intocartesi:mainfrom
bravesasha:patch-1

Conversation

@bravesasha
Copy link

Use Go 1.13+ error wrapping (%w) instead of %v when returning errors from address book loading functions. This preserves the original error and allows callers to use errors.Is / errors.As if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant