1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-30 08:06:40 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Asim Aslam
45c05c4e2b Add timeout error 2018-11-25 09:41:28 +00:00
ahmadnurus
395d70cf01 errors: Added 405 Method Not Allowed helper function 2018-09-12 21:42:34 +07:00
Tudor Roman
3b6f38a45c
errors: Added 409 Conflict helper function 2018-02-11 15:51:33 +02:00
Sander van Harmelen
4bc44d79c6 Improve the UX for users of the errors package.
By making the error helper functions variadic functions, you can pass either a string (like the existing behaviour) or a format and verbs that will then be formatted for you.

This doesn’t break any existing API’s, but it prevents people using this package to have to call `fmt.Sprintf` whenever they would like to format the error detail.
2017-05-31 15:29:03 +02:00
Asim Aslam
71d717a06d strip doc.go files 2016-12-14 15:41:48 +00:00
Asim
0bdd3bc1b6 Add error comment 2016-01-30 21:16:45 +00:00
Łukasz Kurowski
35fd6796b1 Fixes nil pointer dereference error
Cannot unmarshal into nil struct
2015-01-30 16:03:17 +01:00
Asim
8e55cde513 First 2015-01-13 23:31:27 +00:00