alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-juju-errors  ]

Paket: golang-github-juju-errors-dev (1.0.0-1)

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

Screenshot

Debianresurser:

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

Ansvariga:

Externa resurser:

Liknande paket:

Common juju errors and functions to annotate errors

The juju/errors library provides an easy way to annotate errors without losing the original error context.

The exported 'New' and 'Errorf' functions are designed to replace the 'errors.New' and 'fmt.Errorf' functions respectively. The same underlying error is there, but the package also records the location at which the error was created.

A primary use case for this library is to add extra context any time an error is returned from a function.

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

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

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

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 20,9 kbyte95,0 kbyte [filförteckning]