ebd8ddf05b
move to v4
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-04-11 22:21:25 +03:00
c5aeaf6db7
errors: add CodeIn helper func
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-04-19 17:12:25 +03:00
60340a749b
errors: fix MarshalJSON func
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-01-25 00:40:50 +03:00
8546140e22
errors: fix parsing
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-01-21 19:13:21 +03:00
b0def96d14
errors: fix FromError and errors.Unmarshal
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-01-21 18:20:56 +03:00
534bce2d20
errors: add proto
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-01-21 00:50:16 +03:00
8ce469a09e
tracer: fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-12-28 09:18:52 +03:00
5eb0e56373
move all imports to own domain
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-02 19:55:07 +03:00
7b2e3cc8aa
lint fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 21:00:02 +03:00
a45b672c98
drop uuid and use modified nanoid
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-20 22:40:48 +03:00
bbbcb22565
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-06 19:45:13 +03:00
e5bf1448f4
lint fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-14 11:28:50 +03:00
b7b28f6b9a
lint
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-08 00:38:37 +03:00
a9eff06976
fix repocard issues ( #2 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-02 13:25:29 +03:00
efd9075d9b
add error vars
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-28 13:08:53 +03:00
Asim Aslam
8c6f4062ef
Remove error proto in favour of go type
2020-07-19 09:29:48 +01:00
Metauro
859b9e7786
feat(errors): add gateway, service error ( #1797 )
2020-07-06 20:14:59 +01:00
41f8a8cb00
errors: add FromError func ( #1362 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-18 03:10:38 +03:00
ab73127063
grpc client/server fixes ( #1355 )
...
* grpc client/server fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-17 14:27:20 +03:00
7105e4099c
pass micro errors from grpc server to grpc client ( #1167 )
...
* pass micro errors from grpc server to grpc client
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* wrap micro errors.Error to grpc status
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-06 10:18:33 +00:00
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