ainsleyclark / errors

🫠 A drop-in replacement for Go errors, with some added sugar! Error handling in Go made easy with codes, messages and more. Failure is your domain!
MIT License
13 stars 1 forks source link

Implemented Marshaller & Unmarshaller on error type #3

Closed ainsleyclark closed 2 years ago

ainsleyclark commented 2 years ago

Added JSON Marshal/Unmarshal for easy JSON encoding.

codecov[bot] commented 2 years ago

Codecov Report

Merging #3 (b160bc7) into master (aefc866) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          142       167   +25     
=========================================
+ Hits           142       167   +25     
Impacted Files Coverage Δ
errors.go 100.00% <100.00%> (ø)

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 b788cce...b160bc7. Read the comment docs.