Skip to content
Sections
>> Trisquel >> Paketler >> aramo >> devel >> golang-github-juju-errors-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Kaynak: golang-github-juju-errors  ]

Paket: golang-github-juju-errors-dev (0.0~git20210818.5560c4c-1)

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.

golang-github-juju-errors-dev ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen

golang-github-juju-errors-dev indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 18,8 kB82 kB [dosya listesi]