Ecosyste.ms: Packages

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

Top 8.2% on proxy.golang.org
Top 1.7% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : 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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/neuronlabs/errors
Keywords: classification, errors, golang, golang-error, interfaces, neuron
License: Apache-2.0
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/neuronlabs
Dependent packages: 10
Dependent repositories: 1
Stars: 4 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...