dendrite/syncapi/sync
Abhinav Krishna C K ec38783192
maintenance: Fix matrix-org#896 use %w format verb to wrap errors (#916)
* maintenance: Fix matrix-org#896 use %w format verb to wrap errors

* In Go version 1.13 a new formatting verb introduced for fmt.Errorf
  %w https://blog.golang.org/go1.13-errors

* update %s to %w to wrap errors.

* Update all instances of error type to use %w

Signed-off-by: Abhinav Krishna C K <me@abhy.me>

Co-authored-by: Kegsay <kegan@matrix.org>
2020-03-18 12:48:51 +00:00
..
notifier_test.go maintenance: Fix matrix-org#896 use %w format verb to wrap errors (#916) 2020-03-18 12:48:51 +00:00
notifier.go CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00
request.go CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00
requestpool.go Remove httputil.LogThenError so that the line numbers are reported properly - make error reporting slightly more useful (#879) 2020-03-02 16:20:44 +00:00
userstream.go CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00