Registry / utility / nebulouslabs-errors

nebulouslabs-errors

JSON →
library0.0.0-20200929122200-06c536cf6975gogounverified

Extends the standard library errors package with error composition, extension, and flexible error checking.

go get gitlab.com/NebulousLabs/errors
INSTALL
IMPORT
SIG · NEBULOUSLABS-ERROR
N
nebulouslabs-errors
utilitygov0.0.0-20200929122200-06c536cf6975
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

errors
gitlab.com/NebulousLabs/errors

Create and extend errors using the NebulousLabs errors package.

package main import ( "fmt" "gitlab.com/NebulousLabs/errors" ) func main() { err := errors.New("base error") extended := errors.Extend(err, "additional context") fmt.Println(extended) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200929122200-06c536cf6975latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources