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/go115 pkgtools/cwrappers

Runtime dependencies


Available binary packages

aarch64:go-errors-0.8.0nb18.tgz(NetBSD 9.0)
aarch64:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
earmv7hf:go-errors-0.8.0nb21.tgz(NetBSD 8.0)
earmv7hf:go-errors-0.8.0nb13.tgz(NetBSD 8.0)
earmv7hf:go-errors-0.8.0nb15.tgz(NetBSD 8.0)
earmv7hf:go-errors-0.8.0nb18.tgz(NetBSD 8.0)
earmv7hf:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
earmv7hf:go-errors-0.8.0nb13.tgz(NetBSD 9.0)
earmv7hf:go-errors-0.8.0nb15.tgz(NetBSD 9.0)
earmv7hf:go-errors-0.8.0nb18.tgz(NetBSD 9.0)
i386:go-errors-0.8.0nb15.tgz(NetBSD 8.0)
i386:go-errors-0.8.0nb18.tgz(NetBSD 8.0)
i386:go-errors-0.8.0nb21.tgz(NetBSD 8.0)
i386:go-errors-0.8.0nb15.tgz(NetBSD 9.0)
i386:go-errors-0.8.0nb18.tgz(NetBSD 9.0)
i386:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb22.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb18.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb18.tgz(NetBSD 8.0)
x86_64:go-errors-0.8.0nb15.tgz(NetBSD 8.0)
x86_64:go-errors-0.8.0nb15.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb18.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb21.tgz(NetBSD 9.0)
x86_64:go-errors-0.8.0nb22.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


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.

[ Go up one level | Go to top of packages tree | List all packages ]