An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/pkg/errors

Package errors provides simple error handling primitives. The traditional error handling idiom in Go is roughly akin to which when 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. The errors.Wrap function returns a new error that adds context to the original error by recording a stack trace at the point Wrap is called, together with the supplied message. For example If additional control is required, the errors.WithStack and errors.WithMessage functions destructure errors.Wrap into its component operations: annotating an error with a stack trace and with a message, respectively. Using errors.Wrap constructs a stack of errors, adding context to the preceding error. Depending on the nature of the error it may be necessary to reverse the operation of errors.Wrap to retrieve the original error for inspection. Any error value which implements this interface can be inspected by errors.Cause. errors.Cause will recursively retrieve the topmost error that does not implement causer, which is assumed to be the original cause. For example: Although the causer interface is not exported by this package, it is considered a part of its stable public interface. All error values returned from this package implement fmt.Formatter and can be formatted by the fmt package. The following verbs are supported: New, Errorf, Wrap, and Wrapf record a stack trace at the point they are invoked. This information can be retrieved with the following interface: The returned errors.StackTrace type is defined as The Frame type represents a call site in the stack trace. Frame supports the fmt.Formatter interface that can be used for printing information about the stack trace of this error. For example: Although the stackTracer interface is not exported by this package, it is considered a part of its stable public interface. See the documentation for Frame.Format for more details.
13 versions
Latest release: over 5 years ago
98,949 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/pkg/errors

Dependent Repos 64

SocialGouv/sealed-secrets Fork of bitnami-labs/sealed-secrets
A Kubernetes controller and tool for one-way encrypted Secrets

Size: 39.6 MB - Last synced: 6 days ago - Pushed: 6 months ago

ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over Bluetooth

Size: 3.87 MB - Last synced: about 17 hours ago - Pushed: about 2 years ago

InseeFrLab/gonyxia-api

Size: 98.6 KB - Last synced: about 4 hours ago - Pushed: 9 days ago

InseeFrLab/onyxia-cli
WIP

Size: 53.7 KB - Last synced: about 4 hours ago - Pushed: 4 days ago

InseeFrLab/onyxia-onboarding
Onboarding for the Onyxia datalab

Size: 68.4 KB - Last synced: about 4 hours ago - Pushed: over 1 year ago

InseeFrLab/onyxia-onboarding-operator
An operator for onyxia's onboarding tasks

Size: 71.3 KB - Last synced: about 4 hours ago - Pushed: over 1 year ago

InseeFrLab/s3-operator
A simple operator to dynamically create S3 buckets and policies

Size: 331 KB - Last synced: about 4 hours ago - Pushed: 1 day ago

InseeFrLab/utils
A collection of scripts that may have been used at some point :)

Size: 41 KB - Last synced: about 4 hours ago - Pushed: over 1 year ago

MTES-MCT/filharmonic-api 📦
API of Fil'Harmonic

Size: 870 KB - Last synced: 5 days ago - Pushed: about 6 years ago

SocialGouv/secretgen-controller Fork of carvel-dev/secretgen-controller
secretgen-controller provides CRDs to specify what secrets need to be on Kubernetes cluster (to be generated or not)

Size: 30.4 MB - Last synced: 6 days ago - Pushed: 12 months ago

SocialGouv/oblik
An operator designed to watch VPA objects and apply resources recommendations to Deployments and StatefulSets based on configurable annotations

Size: 9.01 MB - Last synced: 6 days ago - Pushed: 11 days ago

SocialGouv/mattermost-plugin-google-calendar Fork of waseem18/mattermost-plugin-google-calendar
Mattermost plugin for Google Calendar - In rapid development

Size: 553 KB - Last synced: 6 days ago - Pushed: 12 months ago

Spirals-Team/genpack-swarm Fork of docker-archive/classicswarm
GenPack is an extension of Docker Swarm to better pack containers onto hosts

Size: 12.8 MB - Last synced: about 5 hours ago - Pushed: over 8 years ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 2 days ago - Pushed: almost 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 2 days ago - Pushed: almost 3 years ago