Commit Graph

2 Commits

Author SHA1 Message Date
Fraser Waters 3560333ae6
Clean up uses of .Error() ()
Combination of a few cleanups.

1. Don't call .Error() on errors that are being passed to "%s" format
functions. Format will call `Error()` itself.
2. Don't call assert.Error then assert.Equal/Contains, just use
assert.ErrorEqual/ErrorContains instead.
3. Use "%w" if appropriate, instead of "%v"/"%s".
2023-12-20 15:54:06 +00:00
Mikhail Shilkov 6c9556fe78 Add a link to docs for the 409 Conflict error message ()
* Add a link to docs for the 409 Conflict error message

* Formatting
2019-09-10 13:25:08 -07:00