Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.46 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.46 KB

errors

Travis-CI Go Report Card GoDoc codecov

An errors package built on top of existing battle tested packages with structured JSON serialization support.

Requirements

Go v1.10+ since strings.Builder API is used for generating the output for Error() method.

Features

  • A very primitive support for monads
  • Maintains backwards compatibility with Dave Cheney's errors package.
  • Additional functions for wrapping errors inspired by Upspin's error package.
  • Additional methods for error inspection.
  • JSON serialization support.

Prior Art

License

Unless otherwise noted, the errors source files are distributed under the Apache Version 2.0 license found in the LICENSE file.

FOSSA Status