Wed, 18 Nov 2026 22:19:33 UTC Log in
Go library for wrapping and querying errors 17.90 KB built 2026-10-14 07:08:17 GMT

Description

Errwrap is a package for Go that formalizes the pattern of wrapping errors and checking if an error contains another error. There is a common pattern in Go of taking a returned error value and then wrapping it (such as with fmt.Errorf) before returning it. The problem with this pattern is that you completely lose the original error structure. Arguably the correct approach is that you should make a custom structure implementing the error interface, and have the original error as a field on that structure, such as this example. This is a good approach, but you have to know the entire chain of possible rewrapping that happens, when you might just care about one. Errwrap formalizes this pattern (it doesn't matter what approach you use above) by giving a single interface for wrapping errors, checking if a specific error is wrapped, and extracting that error. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/hashicorp/errwrap

Dependencies

8 total
Requires5
  • go-filesystem
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides3
  • golang(github.com/hashicorp/errwrap) = 1.1.0-18.fc45
  • golang-github-hashicorp-errwrap-devel = 1.1.0-18.fc45
  • golang-ipath(github.com/hashicorp/errwrap) = 1.1.0-18.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

11
Files 1–11 of 11

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-49770-885 2026-10-29 12:10:21 expired
f45-build-49600-884 2026-10-29 11:53:34 expired
f45-build-49459-883 2026-10-29 11:39:02 expired
f45-build-49188-882 2026-10-29 11:09:31 expired
f45-build-49053-881 2026-10-29 10:52:22 expired
f45-build-48976-879 2026-10-29 10:46:13 expired
f45-build-48586-875 2026-10-29 10:03:31 expired
f45-build-48552-875 2026-10-29 09:56:33 expired
f45-build-48551-875 2026-10-29 09:56:33 expired
f45-build-48063-872 2026-10-29 08:59:40 expired
f45-build-48026-872 2026-10-29 08:55:31 expired
f45-build-47698-868 2026-10-29 08:18:10 expired
f45-build-47629-868 2026-10-29 07:56:39 expired
f45-build-20298-569 2026-10-16 11:52:38 expired
f45-build-20285-569 2026-10-16 11:50:36 expired
f45-build-12514-442 2026-10-14 08:47:30 expired
f45-build-12472-442 2026-10-14 08:43:09 expired
f45-build-12377-441 2026-10-14 08:07:38 expired
f45-build-12369-441 2026-10-14 08:06:50 expired
Buildroots 1–19 of 19