Skip to content
Sections
>> Trisquel >> Pakiety >> etiona >> devel >> golang-github-juju-errors-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: golang-github-juju-errors  ]

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

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.

Inne pakiety związane z golang-github-juju-errors-dev

  • wymaga
  • poleca
  • sugeruje

Pobieranie golang-github-juju-errors-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 16,0 KiB73 KiB [lista plików]