Skip to content
Snippets Groups Projects
Unverified Commit dd92b2b8 authored by Jakob Borg's avatar Jakob Borg Committed by GitHub
Browse files

all: Tweak error creation (#6391)

- In the few places where we wrap errors, use the new Go 1.13 "%w"
  construction instead of %s or %v.

- Where we create errors with constant strings, consistently use
  errors.New and not fmt.Errorf.

- Remove capitalization from errors in the few places where we had that.
parent eddc8d3f
No related branches found
No related tags found
No related merge requests found
Showing
with 42 additions and 38 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment