Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> devel >> golang-github-juju-errors-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-juju-errors  ]

套件: 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.

其他與 golang-github-juju-errors-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-github-juju-errors-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 16.0 kB73 kB [文件列表]