prometheus/web/api/v1
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
i) Uses the more idiomatic Wrap and Wrapf methods for creating nested errors.
ii) Fixes some incorrect usages of fmt.Errorf where the error messages don't have any formatting directives.
iii) Does away with the use of fmt package for errors in favour of pkg/errors

Signed-off-by: tariqibrahim <tariq181290@gmail.com>
2019-03-26 00:01:12 +01:00
..
api_test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
api.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00