Key | Value |
---|---|
FileSize | 9720 |
MD5 | 15B88F365F22E37DDB2BDBA0AF28CD1F |
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 | devel |
PackageVersion | 0.0~git20141028.0.7554cd9-1 |
SHA-1 | 8E4FDBC9018156BDCD13CE9E77C3727379440C5C |
SHA-256 | 4F25CA286FA0D56E63B2D9F16E1A799CB3EDC447FF394C0F0AC1F20D6BCBA103 |
hashlookup:children-total | 5 |
hashlookup:trust | 50 |
The searched file hash includes 5 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/errwrap.go |
FileSize | 4377 |
MD5 | 3E11878261CEFEEBF8418FCEF4E8E4E1 |
SHA-1 | 9D5A5EA0E62BFCBDAA1C7EE4D1581B190909F571 |
SHA-256 | 6DC23FD5A2F8A97FA915F519D40F618177A2C54DBAD1BC50455DB4EB2E6F41A9 |
SHA-512 | 80CC43356E23D40D6CFCC00C713A8D02C2A5D6A017FA6B806ED034646355914BD5893D0DE188DD24A9F3E3C4D6A7258997C801D5B8F06BB3B2467D9612486756 |
SSDEEP | 96:yUqdm2W8KgsfZ4Yr7pL7rwjTaw66wu8Rzo6p4qh4gjHSl:yU0rW8KjfZ467p7UjhCRmw4OHSl |
TLSH | T12C9146A37B79937B01312139520E11B9A764C8308734FAB9D0CA907E33998BD9E34BD6 |
insert-timestamp | 1659226698.2458737 |
mimetype | text/plain |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/gocode/src/github.com/hashicorp/errwrap/errwrap_test.go |
FileSize | 1292 |
MD5 | 90AA25D31959F3510FF33AD85F095655 |
SHA-1 | EC007271C3AF64B00F73258CBC24EDBA66170760 |
SHA-256 | F0805EE86D3B64F1BEFFDFA975A776A1118C6491C30EC9543F6F698FB736A3A5 |
SHA-512 | 49C180361011FE2AD579F8CE1FD9C2C976ECF75E8A8874FC6E1EB5B59848536B4B141B8A7E5F78772F95A9D2DF382F460C5AFBA82FB237EB874FF35C2F47AD6B |
SSDEEP | 24:vEZlg+Q8yt3L/VrLR/yH7/GCd/Gde/zXdO8C352B3U2B4gzYt3L/VWLR/7L/j7/Z:v2ly8CbVVybG+GWzXdO8Q5eUnYgbVg/x |
TLSH | T163218E1ADE6D04AB935C303446AD59D9036CC0B3FFD099DBD20256D7A80E9BEC715A74 |
insert-timestamp | 1659226698.2332249 |
mimetype | text/plain |
source | snap:mdTwaNga8m8NrBqqSH4FVIbtUwLWAhWj_15 |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/copyright |
FileSize | 16793 |
MD5 | 39D41123AC4C100609E34FCC4007AB9B |
SHA-1 | F59FC6D6E81386750D21EAFE8D7053E163B89A39 |
SHA-256 | 2B1065DC8B312DC2A7CAD0BC70F22C2E983F3B0649F20FD416796DB2A762FF5A |
SSDEEP | 384:WOm0V3oRi+4bWdZgK8VCXZWzNYFOrZYmDwd9klgWaV:WU3k4XNvrZXDwZWaV |
TLSH | T1D87253BF3B4813731AC212A65F57649BE31AA03E76791075708C812C2F9B96443FB6F9 |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/changelog.Debian.gz |
FileSize | 174 |
MD5 | 71703A252745A2461ECF1AF8DD1DF138 |
SHA-1 | 7562B27D853C8A1D9C59970DFD80AD8A21599FB6 |
SHA-256 | EB78B8A058310FF3BC93D25338B8146008D76C9F1923B18B8743A7B226A5B231 |
SSDEEP | 3:FttHFzVR/JLNSAFbWr1G20YLlaTQJZOn+O++zMBb2GVfGdVu+wtilMGl:XtlbJ+D2Hsx2GxGd4Ht29 |
TLSH | T1F4C08006F8C1A624E2146B7F7547346B5D19D50ED6145D7C14C41095158CBC7352453D |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/README.md |
FileSize | 2479 |
MD5 | 8D8497D478E65888345F72669806B7EE |
SHA-1 | E09EB04067CF04BE5C6E7911A5C2AD925144A98A |
SHA-256 | FE22C027887F35E4FD76C3ADDC579595041E396672DDFDD9B0DADF18070C53B9 |
SSDEEP | 48:4p+PXd5RTmLsjj0kr4QVbh2rr+Nad6ufx4XsiOmruOt8:4psTTmLsj3dhcr+5OUsiOmft8 |
TLSH | T17E5163CBE3F027B78962111C052A719C6354ECF05735866D68A890FF66879B4C9727CE |