alla flaggor
sid  ]
[ Källkod: golang-github-pingcap-errors  ]

Paket: golang-github-pingcap-errors-dev (0.11.4-1)

Länkar för golang-github-pingcap-errors-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-pingcap-errors:

Ansvariga:

Externa resurser:

Liknande paket:

enhanced error handling primitives for Go (library)

This package provides enhanced error handling primitives for Go. It extends the standard Go error handling capabilities to improve the diagnostic information available when errors occur.

The library allows for wrapping errors to add context, and attaching stack traces to errors. It provides functions like Wrap, Wrapf, WithMessage, and WithStack. Errors can be inspected with Cause and support detailed formatting via the fmt.Formatter interface, revealing the error chain and stack traces with the '%+v' verb. It also includes facilities for handling groups of errors.

Andra paket besläktade med golang-github-pingcap-errors-dev

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta golang-github-pingcap-errors-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 13,7 kbyte72,0 kbyte [filförteckning]