Debian Codegraph @

debian/control

raw
1 Source: golang-github-juju-errors
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Mathias Gibbens <[email protected]>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 dh-golang,
9 golang-any,
10 golang-gopkg-check.v1-dev
11 Standards-Version: 4.6.1
12 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-juju-errors
13 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-juju-errors.git
14 Homepage: https://github.com/juju/errors
15 Rules-Requires-Root: no
16 XS-Go-Import-Path: github.com/juju/errors
17
18 Package: golang-github-juju-errors-dev
19 Architecture: all
20 Multi-Arch: foreign
21 Depends: ${misc:Depends},
22 golang-gopkg-check.v1-dev
23 Description: Common juju errors and functions to annotate errors
24 The juju/errors library provides an easy way to annotate errors without
25 losing the original error context.
26 .
27 The exported 'New' and 'Errorf' functions are designed to replace the
28 'errors.New' and 'fmt.Errorf' functions respectively. The same underlying
29 error is there, but the package also records the location at which the
30 error was created.
31 .
32 A primary use case for this library is to add extra context any time an error
33 is returned from a function.