Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
chetanhs's comments
login
chetanhs
on Dec 26, 2019
|
parent
|
context
[–]
| on:
Eris – A better way to handle, trace, and log erro...
This looks pretty good. And I also get the reason behind it’s name. But for a utility package like this, it’s better if it was named errors. It makes the usage and call sites clear. Ex: eris.New() vs errors.New()
sangnoir
on Dec 26, 2019
|
parent
[–]
import errors "github.com/morningvera/eris"
chetanhs
on Dec 26, 2019
|
root
|
parent
[–]
Yes it can be import aliased everywhere. But my point is it’s not needed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: