Skip to content
Permalink
Browse files

Merge pull request #10 from erizocosmico/patch-1

corrections for README
  • Loading branch information...
mcuadros committed Jul 27, 2017
2 parents f895e6b + 240c071 commit 01e8bea63b123191518f3fad2bc180db5fee53e1
Showing with 4 additions and 5 deletions.
  1. +4 −5 README.md
@@ -1,19 +1,18 @@
# go-errors [![GoDoc](https://godoc.org/gopkg.in/src-d/go-errors.v1?status.svg)](https://godoc.org/gopkg.in/src-d/go-errors.v1) [![Build Status](https://travis-ci.org/src-d/go-errors.svg?branch=master)](https://travis-ci.org/src-d/go-errors) [![codecov](https://codecov.io/gh/src-d/go-errors/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/go-errors) [![codebeat badge](https://codebeat.co/badges/e0c5d481-6200-4112-9144-f750317421f0)](https://codebeat.co/projects/github-com-src-d-go-errors)

Yet another `errors` package, implementing errors handling primitives, allowing error wrapping and error tracing.
Yet another `errors` package, implementing error handling primitives with error wrapping and error tracing.

## Installation

The recommended way to install go-errors:
The recommended way to install go-errors is:

```
go get -u gopkg.in/src-d/go-errors.v1
```

## Examples

The `Kind` type allows create new errors containing the stack trace and also
allows identify errors generated by it.
The `Kind` type allows you to create new errors containing the stack trace and also check if an error is of a particular kind.

```go
var ErrExample = errors.NewKind("example")
@@ -70,7 +69,7 @@ if ErrNetworking.Is(err) {
// Output: network error: EOF
```

You can find this examples and many others at the [examples](example_test.go) file.
You can find these examples and many more in the [examples](example_test.go) file.


## License

0 comments on commit 01e8bea

Please sign in to comment.
You can’t perform that action at this time.