Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julienbreux/e
⭐️ Tiny Go error wrapper
https://github.com/julienbreux/e
error-handling golang
Last synced: 26 days ago
JSON representation
⭐️ Tiny Go error wrapper
- Host: GitHub
- URL: https://github.com/julienbreux/e
- Owner: JulienBreux
- License: mit
- Created: 2018-04-08T17:00:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-08T17:45:08.000Z (over 6 years ago)
- Last Synced: 2024-10-12T00:25:39.779Z (about 1 month ago)
- Topics: error-handling, golang
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# e.Rror package
[![CircleCI](https://circleci.com/gh/JulienBreux/e.svg?style=svg)](https://circleci.com/gh/JulienBreux/e)
[![codecov](https://codecov.io/gh/JulienBreux/e/branch/master/graph/badge.svg)](https://codecov.io/gh/JulienBreux/e)
[![codebeat badge](https://codebeat.co/badges/153232b0-eca1-4384-959f-6ed2bea64772)](https://codebeat.co/projects/github-com-julienbreux-e-master)
[![Go Report Card](https://goreportcard.com/badge/github.com/JulienBreux/e)](https://goreportcard.com/report/github.com/JulienBreux/e)
[![GoDoc](https://godoc.org/github.com/JulienBreux/e?status.svg)](http://godoc.org/github.com/JulienBreux/e)
[![GitHub tag](https://img.shields.io/github/tag/JulienBreux/e.svg)](Tag)## BEFORE
```go
_, err := my.Awesome().Method()
if err != nil {
// ...
}
```## AFTER
```go
if err := e.Rror(my.Awesome().Method()); err != nil {
// ...
}
```## Maintainer
- :octocat: [Julien Breux](https://github.com/JulienBreux) - [@JulienBreux](https://twitter.com/JulienBreux)