You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stdlib error wrapping capability via fmt + %w allows for error wrapping as defined in the Go 2 error wrapping spec (citation needed) and as understood by the third-party errors package (and probably many others). The work to be done is:
define a const-ish "base" error type for errors that originate in this package
replace all runtime generated errors (errors.New) with error wrapping via fmt + %w
The text was updated successfully, but these errors were encountered:
The stdlib error wrapping capability via
fmt
+%w
allows for error wrapping as defined in the Go 2 error wrapping spec (citation needed) and as understood by the third-party errors package (and probably many others). The work to be done is:errors.New
) with error wrapping viafmt
+%w
The text was updated successfully, but these errors were encountered: