Paket: golang-github-juju-errors-dev (0.0~git20210818.5560c4c-1)
Länkar för golang-github-juju-errors-dev
Trisquelresurser:
Hämta källkodspaketet golang-github-juju-errors:
- [golang-github-juju-errors_0.0~git20210818.5560c4c-1.dsc]
- [golang-github-juju-errors_0.0~git20210818.5560c4c.orig.tar.xz]
- [golang-github-juju-errors_0.0~git20210818.5560c4c-1.debian.tar.xz]
Ansvarig:
Original Maintainers:
- Debian Go Packaging Team
- Mathias Gibbens
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-github-juju-testing-dev
- Testing gocheck suites and checkers used across juju projects (library)
-
- 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 | 18,8 kbyte | 82 kbyte | [filförteckning] |