Key | Value |
---|---|
FileSize | 10268 |
MD5 | FF817452C111744715E7719516496A96 |
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 | Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org> |
PackageName | golang-github-hashicorp-errwrap-dev |
PackageSection | devel |
PackageVersion | 0.0~git20141028.0.7554cd9-2~bpo9+2 |
SHA-1 | D68881217E586F37699AE887891D6BBE9B652839 |
SHA-256 | 36CD9B2F0D9BFF5BA470247E062A029A68B81570FEEC855C804D219F726CD259 |
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/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/changelog.Debian.gz |
FileSize | 686 |
MD5 | F0BF720F89AC43266DA09CD1C6C9C9CC |
SHA-1 | D4B9068A2D2F1A3CF5C147E6391DEE84BE66A2BA |
SHA-256 | F2D79C38853EA530C01412F89FA4F5396F1A25B55E915DE99C9EAD185BEE0392 |
SSDEEP | 12:X3qlQSbUm2mJ8HHpPhTZIIKNBjnJcSKlugR1NtYpr8OxC79ofX1jqD79gel:X3AQSbPChTZIPHjJaN3OWW1jml |
TLSH | T18D0194A0CC8928E2FAFC4CEF0C7521B5812C5F7C1E500231702ACAC4A22A980BA990C3 |
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 |