An open API service indexing awesome lists of open source software.

https://github.com/tomwright/cerr

Coded error handling in Go.
https://github.com/tomwright/cerr

error error-code errorcode errors go go-errors golang

Last synced: 10 months ago
JSON representation

Coded error handling in Go.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/TomWright/cerr.svg?branch=master)](https://travis-ci.org/TomWright/cerr)
[![codecov](https://codecov.io/gh/TomWright/cerr/branch/master/graph/badge.svg)](https://codecov.io/gh/TomWright/cerr)
[![Documentation](https://godoc.org/github.com/TomWright/cerr?status.svg)](https://godoc.org/github.com/TomWright/cerr)

# cerr

Coded error handling in Go.

Use error codes to identity what has gone wrong, and do not expose internal error messages to external clients.

## Usage

Requires Go `1.13` and up.

```
go get https://github.com/tomwright/cerr
```

Check [tests and examples on godoc](https://godoc.org/github.com/TomWright/cerr).