all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: golang-github-juju-errors  ]

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

Links for golang-github-juju-errors-dev

Screenshot

Debian Resources:

Download Source Package golang-github-juju-errors:

Maintainers:

External Resources:

Similar packages:

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.

Other Packages Related to golang-github-juju-errors-dev

  • depends
  • recommends
  • suggests
  • enhances

Download golang-github-juju-errors-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 20.9 kB95.0 kB [list of files]