Registry / utility / pingcap-errors

pingcap-errors

JSON →
library0.11.4gogounverified

Package errors provides error handling primitives with stack traces and context.

utility
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.

github.com/pingcap/errors

Creates an error with stack trace and context using Annotate.

package main import ( "fmt" "github.com/pingcap/errors" ) func main() { err := errors.New("original error") err = errors.Annotate(err, "context") fmt.Printf("%+v\n", err) }
Debug
Known footguns
gotchaThis package shadows the standard library errors package; use import alias if needed.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources