gin
gin copied to clipboard
Add a gracefull method to set error Context#GraceError.
Add a gracefull method to add error to context#Error #2017
@thinkerou can you take a look?
Codecov Report
Merging #2018 into master will decrease coverage by
0.17%
. The diff coverage is0%
.
@@ Coverage Diff @@
## master #2018 +/- ##
==========================================
- Coverage 98.49% 98.31% -0.18%
==========================================
Files 40 40
Lines 2257 2261 +4
==========================================
Hits 2223 2223
- Misses 18 22 +4
Partials 16 16
Impacted Files | Coverage Δ | |
---|---|---|
context.go | 97.79% <0%> (-0.88%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 168fa94...98a6a28. Read the comment docs.
feel free to close this, by the way, if anyone want to catch error and format the response especially doing I18N at the same time, here is a extremely simple and clean package to do this.