Key | Value |
---|---|
FileSize | 6212 |
MD5 | 4D9E15D675A103CE106C6ED3FEFE708A |
PackageDescription | Errwrap is a Go (golang) library for wrapping and querying errors 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. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | golang-github-hashicorp-errwrap-dev |
PackageSection | golang |
PackageVersion | 1.1.0-1 |
SHA-1 | 38FFFE90963A1E8CE659D81DCA41CA6EC468EC4F |
SHA-256 | 3F0B989036CA0664755E76C165095404B024C1DEB2593A831B335E287C69ECD7 |
hashlookup:children-total | 6 |
hashlookup:trust | 50 |
The searched file hash includes 6 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/go.mod |
FileSize | 36 |
MD5 | CD8756148DA608BC9474B3DB1F826E39 |
SHA-1 | 0D2DB37B7C4A3D1FA9C62484E85520CBEC3C3958 |
SHA-256 | 93985E11AF40E6301F25D7F83CC4032D2D6D22F338AEE277471A89364C700B29 |
SHA-512 | 2B68CA06311D8602F04EB738A68A24951A9187AA70018D938E549CF7B555BF54DADBDA5825501436C52F6103BCD220ED170C99E4CF777187E2B997C87F05FB0D |
SSDEEP | 3:3BAd9EvK7X+:xAQvKy |
TLSH | |
insert-timestamp | 1659226698.285945 |
mimetype | text/plain |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/README.md |
FileSize | 2484 |
MD5 | 1355E7895FDFCBC8E5E900B26CC608C6 |
SHA-1 | 7B3D223ED9FD513DFCE01DF3CDCA018898330F8E |
SHA-256 | FEFAD74C2856C073E219483B00FC553BAA50021D2530D01291CCFF58EFAC30E4 |
SHA-512 | 46136D1D146BF69072ECAFE6E97CDB018A2502ECF602036D4EFB200F48AFA6B17C44BF1ED6DEE2780E18B7E0104031432CD22B4297705FD0C60A994EE99D8C84 |
SSDEEP | 48:4p+PXd5RTmLsjj0kr4QVbh2rr+Nad6uAu4XsiOmruOt8:4psTTmLsj3dhcr+5fsiOmft8 |
TLSH | T1075183CBE3F027A78922111C052A619C2354ECF05735866D68A890FE66879B8C9727CE |
insert-timestamp | 1659226698.2565 |
mimetype | text/x-c |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/go/1.21/contrib/src/github.com/containerd/containerd/vendor/github.com/hashicorp/errwrap/errwrap.go |
FileSize | 4539 |
MD5 | 0A2AFBE54776F0B18CE099E4A6954FC6 |
SHA-1 | 23148F2B7835EC79925357097700A27E53F2F5CC |
SHA-256 | 6EC72F14C89F1ABAEA5EA85ACDFAD16C93A50BE653CA176561C2C23C7509C145 |
SSDEEP | 96:yUqdm2W8KgsfZ4Yr7c8L7rwjTaw66wu8Rzo6p4qh4TjHSY:yU0rW8KjfZ467p7UjhCRmw4/HSY |
TLSH | T1C69145A37B79937701312039520E11B9E7A4D8348734FAB9D0CA90BF32994BD9E34BD6 |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/copyright |
FileSize | 682 |
MD5 | 2B98198D765F069B17907F45A46A512A |
SHA-1 | 17CFF727434C485902ECAFA37F2600DB6FDEFD2E |
SHA-256 | 3D8886216A6DA4412B08B3D18247F4913F8EAEC4B7938EBED0C04C4D14A1F04D |
SSDEEP | 12:mpeJ8Jq4KU620SZc8f+rYT1ArmssK8XxUG7nAyhZa:gttPWGsm1ArmNtnAyHa |
TLSH | T1B501FEAA6A8C52BE43C06B83FF72614EE30339A82515E2E8C0D984226A1182351E05EC |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/hashicorp/errwrap/errwrap_test.go |
FileSize | 1821 |
MD5 | A1B68809CCB30796BAD1C48B1F9E1247 |
SHA-1 | C60B373E6A4A8EE380CACDAEAB6AA21E8DB86DD0 |
SHA-256 | 3B68A2E1F6EA769A143E3128EA6B312AE7CB8D4BAE06DF539FAED7AE00E3D519 |
SSDEEP | 48:Gly8CbVVybG+GWztdO8Q5eUnYgbVg/f04IvdO8W05K+PA:GlQHqjZWteUnfS/f0k2KWA |
TLSH | T15831C216DFAE08EBA36D342446DD5AD9031CC073FFD098EAD20652D7680D57DDB14768 |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/changelog.Debian.gz |
FileSize | 966 |
MD5 | D6A0BA8380D6421971C92120A0E3ECD7 |
SHA-1 | 951E0B42EBFEE06AE85806709BADD00B1C4B193A |
SHA-256 | 12C4C4A14B41E5E441BC3A34A5420B031F12F18DC7806EEA7E7069E8855122F5 |
SSDEEP | 24:Xxu59fHi/I6eEb0piNnK4O9pzNdfWobTJwkF972:XxK9kj0piNK4OfbfWob1R7a |
TLSH | T1D91194C5408A9C9AFE524DA49C9AF5B64ABCBC2006A8175C367298B054B26C495947B2 |