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

Package Usage: go: go.uber.org/multierr

Package multierr allows combining one or more errors together. Errors can be combined with the use of the Combine function. If only two errors are being combined, the Append function may be used instead. The underlying list of errors for a returned error object may be retrieved with the Errors function. You sometimes need to append into an error from a loop. Cases like this may require knowledge of whether an individual instance failed. This usually requires introduction of a new variable. multierr includes AppendInto to simplify cases like this. This will append the error into the err variable, and return true if that individual error was non-nil. See AppendInto for more information. Go makes it possible to modify the return value of a function in a defer block if the function was using named returns. This makes it possible to record resource cleanup failures from deferred blocks. multierr provides the Invoker type and AppendInvoke function to make cases like the above simpler and obviate the need for a closure. The following is roughly equivalent to the example above. See AppendInvoke and Invoker for more information. NOTE: If you're modifying an error from inside a defer, you MUST use a named return value for that function. Errors returned by Combine and Append MAY implement the following interface. Note that if you need access to list of errors behind a multierr error, you should prefer using the Errors function. That said, if you need cheap read-only access to the underlying errors slice, you can attempt to cast the error to this interface. You MUST handle the failure case gracefully because errors returned by Combine and Append are not guaranteed to implement this interface.
14 versions
Latest release: about 2 years ago
28,728 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/go.uber.org/multierr

Dependent Repos 23

rferrand/go-config-files-utils
Go library providing various helpers to work with configuration files

Last synced: about 1 year ago - Pushed: 11 months ago

E218662B/web-api-rest-en-go-lang

Last synced: about 1 year ago - Pushed: 11 months ago

E21A429P/tp_web_rest

Last synced: about 1 year ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/alertmanager-irc-relay

Last synced: 7 months ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 7 months ago - Pushed: 11 months ago

guillaume.perreal/coord

Last synced: 11 months ago - Pushed: 11 months ago

cea-hpc/sshproxy
Proxy SSH connections on a gateway

Size: 9.34 MB - Last synced: about 14 hours ago - Pushed: 17 days ago

radiofrance/dib
An opinionated docker image builder

Size: 3.61 MB - Last synced: 7 days ago - Pushed: 8 days ago

radiofrance/gitlab-ci-pipelines-exporter
Rewrite of https://github.com/mvisonneau/gitlab-ci-pipelines-exporter without Gitlab API requests

Size: 546 KB - Last synced: 7 days ago - Pushed: 7 days ago

radiofrance/image-registry-metrics-exporter
Image Registry Metrics Exporter provides metrics about creation and uploading time of images on OCI registry.

Size: 302 KB - Last synced: 7 days ago - Pushed: 8 days ago

betagouv/vouch-proxy Fork of vouch/vouch-proxy
an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

Size: 5.68 MB - Last synced: 7 days ago - Pushed: over 1 year ago

cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in Go

Size: 404 KB - Last synced: about 14 hours ago - Pushed: 6 months ago

signaux-faibles/opensignauxfaibles Fork of entrepreneur-interet-general/opensignauxfaibles
Plateforme de détection des entreprises fragiles

Size: 36.6 MB - Last synced: about 2 hours ago - Pushed: 3 months ago

radiofrance/ipahealthcheck_exporter Fork of camptocamp/ipahealthcheck_exporter
Prometheus exporter for exposing ipa-healthcheck tool checks as metrics

Size: 60.5 KB - Last synced: 7 days ago - Pushed: almost 4 years ago

tchapgouv/lk-jwt-service Fork of element-hq/lk-jwt-service
Minimal service to provide LiveKit JWTs using Matrix OpenID Connect

Size: 68.4 KB - Last synced: 7 days ago - Pushed: 7 months ago

signaux-faibles/wekan-alerter
wekan-alerter

Size: 44.9 KB - Last synced: about 2 hours ago - Pushed: over 2 years ago

signaux-faibles/goup
Serveur minimaliste pour téléverser des fichiers avec une gestion de droits

Size: 63.1 MB - Last synced: about 2 hours ago - Pushed: over 2 years ago

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43.1 MB - Last synced: about 2 hours ago - Pushed: about 7 hours ago

pass-culture/pc-monitoring 📦

Size: 176 MB - Last synced: 7 months ago - Pushed: over 3 years ago

capsule/drv

Last synced: 7 months ago - Pushed: 11 months ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stack

Last synced: 7 months ago

csan/csan
CSAN : A marketplace for science

Last synced: 7 months ago