An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/neuronlabs/errors

Package errors provides leightweight error handling and classification primitives. The package defines blazingly fast classification system. A class is composed of the major, minor and index subclassifications. Each subclassifaction has different bitwise length with total of 32 bits. Thus a Class is a wrapper over uint32. A major is composed of 8, minor 10 and index of 14 bits. Example: Class with decimal value of 44205263, in a binary form equals to The class concept was inspired by the need of multiple errors with the same logic but different messages. The package provides simple error handling interfaces and functions. It allows to create simple and detailed classified errors.

Ecosystem
proxy.golang.org
Latest Release
v1.2.0
almost 7 years ago
Versions
3
Dependent Packages
10
Dependent Repos
1
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/neuronlabs/errors
spec
License Apache-2.0
Namespace github.com/neuronlabs
First Release almost 7 years ago
Last Synced 6 days ago
Repository
Stars 4 on GitHub
Forks 1 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%
Dependent packages Top 1.7%
Dependent repos Top 4.7%