https://github.com/spacetab-io/errors-go
https://github.com/spacetab-io/errors-go
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spacetab-io/errors-go
- Owner: spacetab-io
- Created: 2020-05-19T05:47:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T11:30:09.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T22:13:53.295Z (3 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
errors-go
--------Mini packet to work with errors
## Methods
### HasErrors(interface{}) bool
Checks if error occurs in passed var.
### Wrap(method, action string, error) error
Wraps error with method and action, where it occurred.