-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the system errors package instead of github.com/pkg/errors #762
Conversation
🤖 Created branch: z_pr762/skitt/drop-pkg-errors |
390f8d7
to
6eb101a
Compare
I like |
Yeah, that’s part of the discussion — the project is archived but it’s simple enough, and I don’t think there’s much risk of needing a security fix there, so it should be fine to continue using it. I like the wrappers too; I do however feel that they sometimes lead to “write-only” code that requires too much effort to unpack, for example https://github.com/submariner-io/admiral/pull/762/files#diff-45d75e9613d7175cf26d0ec83c4c5402ce87085cafb3acddf321693311baa3a1R463-R468. But most instances are convenient and easy enough to follow (once people realise that the wrappers don’t do anything if the error is |
I think we agreed we can keep using |
6eb101a
to
ff723b6
Compare
I wanted to rework it to switch to |
... where appropriate. Signed-off-by: Stephen Kitt <skitt@redhat.com>
ff723b6
to
f4f0af9
Compare
🤖 Closed branches: [z_pr762/skitt/drop-pkg-errors] |
... where appropriate.