Key | Value |
---|---|
FileSize | 10376 |
MD5 | A402F75E7F73158A31A06A0F8DE758D1 |
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 | 1.0.0-1 |
SHA-1 | 818D2551537A2A9E373A86FF742BBC5F6A7FB7DF |
SHA-256 | 2E074E49828820147321C1E42B73652794A81C340DBC2E3FA00E339D7BEE4D94 |
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/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/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/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 | 679 |
MD5 | 42AC13476E4087AED1989871284ED831 |
SHA-1 | 91C495170A774D7F1A87D9900F7B6AAA5032BA03 |
SHA-256 | EAD1AC0523EB040E9B3B89B94E578B80BEAC4DD8E3DE72AC128B8CE4701DA7DE |
SSDEEP | 12:XPEQPe6YkKDonjQms4e7PhQdakGObkID3G3Y7g2ivKGWDy:XsQPY0jQHpSakG1ID3GcKzEy |
TLSH | T1F2018372BE47223266CB4393CEF32EC5C5785063D1004B502D08633E38B8E837C5E656 |