gin icon indicating copy to clipboard operation
gin copied to clipboard

Add a gracefull method to set error Context#GraceError.

Open sleagon opened this issue 4 years ago • 3 comments

Add a gracefull method to add error to context#Error #2017

sleagon avatar Aug 15 '19 12:08 sleagon

@thinkerou can you take a look?

sleagon avatar Aug 15 '19 14:08 sleagon

Codecov Report

Merging #2018 into master will decrease coverage by 0.17%. The diff coverage is 0%.

Impacted file tree graph

@@            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.

codecov[bot] avatar Dec 16 '19 04:12 codecov[bot]

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.

sleagon avatar Jul 22 '20 04:07 sleagon