devel/go-errors - The NetBSD Packages Collection

Simple error handling primitives

Package errors provides simple error handling primitives.

The traditional error handling idiom in Go is roughly akin to

if err != nil {
        return err
}

which applied recursively up the call stack results in error reports without
context or debugging information. The errors package allows programmers to add
context to the failure path in their code in a way that does not destroy the
original value of the error.

Build dependencies

lang/go116 pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfgo-errors-0.8.0nb21.tgz
NetBSD 8.0earmv7hfgo-errors-0.8.0nb18.tgz
NetBSD 8.0earmv7hfgo-errors-0.8.0nb23.tgz
NetBSD 8.0i386go-errors-0.8.0nb18.tgz
NetBSD 8.0i386go-errors-0.8.0nb21.tgz
NetBSD 8.0i386go-errors-0.8.0nb23.tgz
NetBSD 8.0x86_64go-errors-0.8.0nb18.tgz
NetBSD 9.0aarch64go-errors-0.8.0nb23.tgz
NetBSD 9.0aarch64go-errors-0.8.0nb18.tgz
NetBSD 9.0aarch64go-errors-0.8.0nb21.tgz
NetBSD 9.0earmv7hfgo-errors-0.8.0nb23.tgz
NetBSD 9.0earmv7hfgo-errors-0.8.0nb18.tgz
NetBSD 9.0earmv7hfgo-errors-0.8.0nb21.tgz
NetBSD 9.0i386go-errors-0.8.0nb18.tgz
NetBSD 9.0i386go-errors-0.8.0nb21.tgz
NetBSD 9.0i386go-errors-0.8.0nb23.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb21.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb21.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb22.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb18.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb21.tgz
NetBSD 9.0x86_64go-errors-0.8.0nb23.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.