File: control

package info (click to toggle)
golang-github-nebulouslabs-errors 0.0~git20170430.98e1f05-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 64 kB
  • sloc: makefile: 2
file content (32 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Source: golang-github-nebulouslabs-errors
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Free Ekanayaka <freee@debian.org>
Build-Depends: debhelper (>= 10),
               dh-golang,
               golang-any
Standards-Version: 4.1.1
Homepage: https://github.com/NebulousLabs/errors
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-nebulouslabs-errors.git
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-nebulouslabs-errors.git
XS-Go-Import-Path: github.com/NebulousLabs/errors
Testsuite: autopkgtest-pkg-go

Package: golang-github-nebulouslabs-errors-dev
Architecture: all
Depends: ${shlibs:Depends},
         ${misc:Depends}
Description: errors with context, composition, and easy error checking
 The errors package is an extension of and drop in replacement for the
 standard library errors package. Multiple errors can be composed into a
 single error with the Compose function, or a single error can be
 extended by adding context using the Extend function. The result can be
 checked for the presence of a specific error using Contains. If any of
 the underlying composed or extended errors or extensions match,
 Contains will return true.
 .
 This package is especially beneficial during testing, where you may wish
 to check for presence of a specific error, but that specific error may
 be extending another error or may have been extended by another function
 somewhere else in the call stack.