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

https://github.com/pinzolo/errz

Utitlity package for error
https://github.com/pinzolo/errz

error golang

Last synced: 4 months ago
JSON representation

Utitlity package for error

Awesome Lists containing this project

README

          

# errz

[![Build Status](https://travis-ci.org/pinzolo/errz.png)](http://travis-ci.org/pinzolo/errz)
[![Coverage Status](https://coveralls.io/repos/github/pinzolo/errz/badge.svg?branch=master)](https://coveralls.io/github/pinzolo/errz?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/pinzolo/errz)](https://goreportcard.com/report/github.com/pinzolo/errz)
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/pinzolo/errz)
[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/pinzolo/errz/master/LICENSE)

## Description

Utitlity package for error. ([pkg/errors](https://github.com/pkg/errors) + alpha)

## from pkg/errors

* Annotating with stack trace
* Wrapping error

## plus alpha

* Annotating with custom error code
* Uniting multi errors to single error
* Constantizing error

### Go version

Go 1.8 or later

## Contribution

1. Fork ([https://github.com/pinzolo/sqlt/fork](https://github.com/pinzolo/sqlt/fork))
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `go test ./...` command and confirm that it passes
1. Run `gofmt -s`
1. Create a new Pull Request

## Author

[pinzolo](https://github.com/pinzolo)