1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

15 Commits

Author SHA1 Message Date
川桑
102391165e
test(errors): improve coverage (#2178)
Co-authored-by: dengxiaochuan <dengxc@yilan.tv>
2022-07-10 12:15:25 +08:00
Tony Chen
a72fc68ffd
feat: add error cause for statck trace (#1910)
* add error cause for statck trace
2022-04-10 16:15:34 +08:00
kwanhur
ac99a5c877
style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
* matchs to matches
* contraint to constraint
* resovle to resolver
* ser to set

Signed-off-by: kwanhur <huang_hua2012@163.com>
2022-03-10 22:42:44 +08:00
Tony Chen
03ad2b6636
fix: error code judgment (#1849)
* fix error code judgment

* fix errors test
2022-03-01 12:04:57 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
haiyux
4d3092b7aa
test(errors): add errors test (#1739)
* test(errors): add errors test

* fix lint
2022-01-01 23:01:51 +08:00
pwli
378d1ee3c7
fix: enhance error.FromError (#1451)
add converting support for grpc status which not contain details with type `errdetails.ErrorInfo`
2021-09-08 21:56:35 +08:00
Kagaya
f7588a47de
fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
Tony Chen
66412031fd
errors: refactor status code (#948)
* refactor status code
2021-05-25 15:01:53 +08:00
Tony Chen
6919f158cd
api/errors: fix parse error (#881)
* fix parse error
2021-04-29 10:56:53 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas (#880)
* refactor to grpc status
2021-04-28 23:09:27 +08:00
Tony Chen
e1c84ece84
refactor errors (#863) 2021-04-26 16:17:04 +08:00
Tony Chen
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Tony Chen
9806191b7f
errors: Error v2 (#860)
* refactor api errors
2021-04-25 20:19:23 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00