Registry / utility / kataras-go-errors

kataras-go-errors

JSON →
library0.0.3gogounverified

Package errors helps you to write and design your own pre-defined errors, useful when you have a known list of errors.

go get github.com/kataras/go-errors
INSTALL
IMPORT
SIG · KATARAS-GO-ERRORS
K
kataras-go-errors
utilitygov0.0.3
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
github.com/kataras/go-errors

Create and print a custom error.

package main import ( "fmt" "github.com/kataras/go-errors" ) func main() { err := errors.New("something went wrong: %s", "reason") fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kataras-go-errors — go get kataras-go-errors · libregistry