Key | Value |
---|---|
FileSize | 10106 |
MD5 | 85FF969DE375F561FC79D2EAE8CB2B4E |
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-2 |
SHA-1 | E7D627DEA58B050E49FC49AE04158CCB8003AA41 |
SHA-256 | 7B2CFEA562A2D2A776A86DBAAF74BDCBC679E7A92858A15405CDBEDC08C8DD79 |
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/go/1.13/contrib/src/github.com/docker/libnetwork/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/doc/golang-github-hashicorp-errwrap-dev/changelog.Debian.gz |
FileSize | 496 |
MD5 | D838B3CA7D849A75C60AB37AAB42A7FB |
SHA-1 | 387C87BB890CD35E51107B67466E43D26A7B7EC6 |
SHA-256 | 49EC0402C31DC5E803E177BCEE74422F39C8554E33F415A57D1781029E74000B |
SSDEEP | 6:Xt3oy84ZBWRTIVZ2c7BpiSlnFbL1uu3mtRIC0HpqyHcO2Bu1glM0aCm27geVkLTq:X2CBW+iK942C0Hpqvlu0d7bVTaoVew |
TLSH | T1B2F00EEC04843E33EBB8AC205C5A69F31296A982215AA102F16F6C41053A59300AB367 |
Key | Value |
---|---|
FileName | ./usr/share/doc/golang-github-hashicorp-errwrap-dev/copyright |
FileSize | 16794 |
MD5 | 04380754C0846D445411C6CB534FF1D6 |
SHA-1 | 83B8FA6E11402F313280337984DA44055C02C063 |
SHA-256 | 6E288C0215EF2358848C1276C1830DAE7B41AC8117D4E83264CACE29A3F3B666 |
SSDEEP | 384:BOm0V3oRi+4bWdZgK8VCXZWzNYFOrZYmDwd9klgWaV:BU3k4XNvrZXDwZWaV |
TLSH | T1D77253BF3B4813731AC212A65F47649BE31AA03E76791075708C812C2F9B96443FB6F9 |
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/README.md |
FileSize | 2479 |
MD5 | 8D8497D478E65888345F72669806B7EE |
SHA-1 | E09EB04067CF04BE5C6E7911A5C2AD925144A98A |
SHA-256 | FE22C027887F35E4FD76C3ADDC579595041E396672DDFDD9B0DADF18070C53B9 |
SSDEEP | 48:4p+PXd5RTmLsjj0kr4QVbh2rr+Nad6ufx4XsiOmruOt8:4psTTmLsj3dhcr+5OUsiOmft8 |
TLSH | T17E5163CBE3F027B78962111C052A719C6354ECF05735866D68A890FF66879B4C9727CE |