Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "introduce structure for errors" #8

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

hakobe
Copy link
Owner

@hakobe hakobe commented Apr 19, 2018

Reverts #7

Although this was good idea at that time, introducing error types may create more coupling code with caller. To keep code simple I'll revert this one. Sorry @astj 🙏

see also: https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully

@hakobe hakobe merged commit a47e0c3 into master Apr 19, 2018
@hakobe hakobe deleted the revert-7-structurize-error branch April 19, 2018 03:52
Songmu added a commit that referenced this pull request Mar 30, 2019
## [v0.1.0](6495e87...v0.1.0) (2019-03-31)

* adjust releng files [#11](#11) ([Songmu](https://github.com/Songmu))
* Revert "introduce structure for errors" [#8](#8) ([hakobe](https://github.com/hakobe))
* introduce structure for errors [#7](#7) ([astj](https://github.com/astj))
* Remove resolved issues from readme. [#6](#6) ([shogo82148](https://github.com/shogo82148))
* fix errors in IPv6 environment. [#5](#5) ([shogo82148](https://github.com/shogo82148))
* [incompatible] Support context more on Go 1.8 [#4](#4) ([Songmu](https://github.com/Songmu))
* support DialContext for go 1.7 [#3](#3) ([Songmu](https://github.com/Songmu))
* define mustParseCIDR and refactor [#2](#2) ([Songmu](https://github.com/Songmu))
* To prevent TOCTOU attacks, use checked IP addr directly for connections [#1](#1) ([hakobe](https://github.com/hakobe))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant