alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: golang-github-juju-errors  ]

Pakket: golang-github-juju-errors-dev (0.0~git20170703.0.c7d06af-4)

Verwijzigingen voor golang-github-juju-errors-dev

Screenshot

Debian bronnen:

Het bronpakket golang-github-juju-errors downloaden:

Beheerder:

Externe bronnen:

Vergelijkbare pakketten:

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.

Andere aan golang-github-juju-errors-dev gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

golang-github-juju-errors-dev downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 15,9 kB73,0 kB [overzicht]