Paket: golang-github-juju-errors-dev (0.0~git20170703.0.c7d06af-4)
Länkar för golang-github-juju-errors-dev
Trisquelresurser:
Hämta källkodspaketet golang-github-juju-errors:
- [golang-github-juju-errors_0.0~git20170703.0.c7d06af-4.dsc]
- [golang-github-juju-errors_0.0~git20170703.0.c7d06af.orig.tar.xz]
- [golang-github-juju-errors_0.0~git20170703.0.c7d06af-4.debian.tar.xz]
Ansvarig:
Original Maintainer:
- QA Group
Externa resurser:
- Hemsida [github.com]
Liknande paket:
- golang-golang-x-xerrors-dev
- golang-github-nebulouslabs-errors-dev
- libfile-bom-perl
- golang-github-google-renameio-dev
- golang-gopkg-errgo.v1-dev
- golang-github-hashicorp-go-cleanhttp-dev
- dlume
- golang-github-pelletier-go-toml.v2-dev
- libclass-adapter-perl
- libghc-basic-prelude-dev
- libghc-basic-prelude-prof
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.
Andra paket besläktade med golang-github-juju-errors-dev
|
|
|
-
- dep: golang-gopkg-check.v1-dev
- Rich testing extension for Go's testing package
Hämta golang-github-juju-errors-dev
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 16,0 kbyte | 73 kbyte | [filförteckning] |