{"_id":"hypercore-errors","_rev":"11-5db94ce567adab6ac54362cb1d7d9bc1","name":"hypercore-errors","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"hypercore-errors","version":"1.0.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.0.0","maintainers":[{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"2b2d010dafa412f190c3b1f3294f99bdaff9a90a","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.0.0.tgz","fileCount":7,"integrity":"sha512-lYGykNANCfQdvsDNfbAV2RJCu4ITXxFrq3Gf0nDRZEwH0po/rjZdjTLYhzH1mJZNc6toNaD5URBpwqeD/Ug4JA==","signatures":[{"sig":"MEUCID0jr5+aJK2BiUE4v+JqlborgW0+PuYQeCCDohsPmN+dAiEA1Jso1QrnpfS5RKRBQTSo3HB681/hMwTMdtx4ZKzTliY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17195},"main":"index.js","gitHead":"3e622e66ca047ac5e485bd5f7e5f65c1de6c67e9","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"lukks","email":"lucasbarrena98@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"9.7.1","description":"Hypercore errors","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.0.0_1690400092890_0.532050939035775","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"hypercore-errors","version":"1.1.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"1a3a49364f56951f93b4d4741fd90e8d9b006496","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.1.0.tgz","fileCount":4,"integrity":"sha512-pclEHYUmgveqyMObMrgwJ087VvqcRVfbaY7k9rNQ5C+3MADVSQu3f8SmoLkntDkOipm9+uELK3p8DbTGL54m8g==","signatures":[{"sig":"MEUCIQCxTmXA46IYqN1c52PTlGuhFzXpDrVlFcF5sNoD7PpH2QIgfQrjCikrSqbIKrU4HYoXQFUzE7VXTcmWkQaVbSWudso=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15859},"main":"index.js","gitHead":"9926bb82daa53c209507251b996e306896b2899c","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"9.7.2","description":"Hypercore errors","directories":{},"_nodeVersion":"20.4.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.1.0_1692794272187_0.7737802471152508","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"hypercore-errors","version":"1.1.1","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.1.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"e5be7f15a8e74e73ee88a8a4928a433d8ad21380","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.1.1.tgz","fileCount":4,"integrity":"sha512-8vZ4S/kqef2onwQU2txEPif8YF3Dj2ssUcnPqMjbFExGxWg2hPH/5GFJa1IFBOBHP2BkA9X4dW4HyANnF55mhw==","signatures":[{"sig":"MEYCIQCL8lWv6zeEeAgK/oiwQwlY9/FZNGn9n+fhrjyMhTcqtwIhAKf2ptaN3lMu/ILpISDwFpTm9J6vc0CmaknsjWpOhtGB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16017},"main":"index.js","gitHead":"451783bc4600e5cc99aba82610f2379a5556043e","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"10.2.3","description":"Hypercore errors","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.1.1_1705920757481_0.06647513530462335","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"hypercore-errors","version":"1.2.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.2.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"303a056d12c7455e8a7c8b339c23c9c48ea930b4","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.2.0.tgz","fileCount":4,"integrity":"sha512-mOIWDsg7+EoS2xMURH7vpxRwJdV1GsBVm1Wst1CHbWbyeMI+9OfUK9bjvcHZ4XR86Q+CSzJkSbnuk7C44kuybw==","signatures":[{"sig":"MEQCIGicHrp5KV0SKySJLjLSjaePdFuowHGvVv/wjuTUp1t/AiBpAIL4pGLxf4IM029a+gG/6VhISpyb1uubOeuiYS0iqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16175},"main":"index.js","gitHead":"ba63e397e2e1e5184c06691ef14e1878190b94eb","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"10.2.4","description":"Hypercore errors","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.2.0_1709275236862_0.1457517235636001","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"hypercore-errors","version":"1.3.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.3.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"f39450202c75b7b473f97f20631d60d29a6514d8","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.3.0.tgz","fileCount":4,"integrity":"sha512-WsmSu05Ve1hXaT/2Etwz7mgZ1sAXe8EaveahUfaeECllxvYNaP5EbAPw5YaA4OqR3d217litGt4qKch9TBnavA==","signatures":[{"sig":"MEYCIQDssEzu0ngFuBe4xskDPieuQwBx6Jcr65sPavIxykZzJgIhAP6M/QVdiNMFfjYr4XUDoVyp9HKkVVXj5MpwLGmJfqmD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16315},"main":"index.js","gitHead":"9312260408737b4e376e41bd1b7c8690cfe29267","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"10.7.0","description":"Hypercore errors","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.3.0_1725042443480_0.8946847741648383","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"hypercore-errors","version":"1.4.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.4.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"33195bc6c4b0ee2aab6fe22d3d3a697dbc4b8720","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.4.0.tgz","fileCount":4,"integrity":"sha512-WoaT467lNbDCglxisthpoC1mpBOH/CoM5IADPQm6BvPzZqXca1S6N1uoflLnZOIre9klCr1SdUnLgDWXLalJ7A==","signatures":[{"sig":"MEQCIB+8FPFVn/dwrVYnkRUz1rwxR6on7UKuWlP30uSnM2+SAiBh0n6qEvl+mzoWkMW7fwb/Gdg6a/O+CftNlxV0EWxkpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16451},"main":"index.js","gitHead":"448862993ae23184bb02f833e36092ef47caff7f","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"10.7.0","description":"Hypercore errors","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.4.0_1733230420754_0.7463860741526329","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"hypercore-errors","version":"1.5.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"hypercore-errors@1.5.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"lukks","email":"lucasbarrena98@gmail.com"}],"homepage":"https://github.com/holepunchto/hypercore-errors#readme","bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"dist":{"shasum":"13469bc7d79cbafdbc675e6f279762b3e4209678","tarball":"https://registry.npmjs.org/hypercore-errors/-/hypercore-errors-1.5.0.tgz","fileCount":4,"integrity":"sha512-5KQ/SuDxsvet+7qWA35Ay6zdD9WyAHQoyWHGcPUTbmJBd300gvNIJoi3oma7kp4TTCSzii6qYumNZe/s0j/saQ==","signatures":[{"sig":"MEYCIQCxHXZ6AmpX5u1LucB/6LDp7vJcz8zs0EHk9LubFkNEVwIhAKFzsjnU1guY5Od3f2X0asFEgxgso64mxNbFr38a+20s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17569},"main":"index.js","gitHead":"bb6c9c9b626264c8e3bf57e19f59c186c5e14111","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"_npmVersion":"10.9.2","description":"Hypercore errors","directories":{},"_nodeVersion":"22.16.0","dependencies":{"hypercore-id-encoding":"^1.3.0"},"_hasShrinkwrap":false,"devDependencies":{"b4a":"^1.6.7","brittle":"^3.1.3","standard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hypercore-errors_1.5.0_1755712589116_0.7510409227808603","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-07-26T19:34:52.889Z","modified":"2026-03-28T19:45:03.282Z","1.0.0":"2023-07-26T19:34:53.119Z","1.1.0":"2023-08-23T12:37:52.339Z","1.1.1":"2024-01-22T10:52:37.670Z","1.2.0":"2024-03-01T06:40:36.988Z","1.3.0":"2024-08-30T18:27:23.597Z","1.4.0":"2024-12-03T12:53:40.916Z","1.5.0":"2025-08-20T17:56:29.344Z"},"bugs":{"url":"https://github.com/holepunchto/hypercore-errors/issues"},"author":{"name":"Holepunch"},"license":"Apache-2.0","homepage":"https://github.com/holepunchto/hypercore-errors#readme","repository":{"url":"git+https://github.com/holepunchto/hypercore-errors.git","type":"git"},"description":"Hypercore errors","maintainers":[{"email":"mathiasbuus@gmail.com","name":"mafintosh"}],"readme":"# hypercore-errors\n\nHypercore errors\n\n```\nnpm i hypercore-errors\n```\n\n## Usage\n\n```js\nconst { BLOCK_NOT_AVAILABLE } = require('hypercore-errors')\n\nthrow BLOCK_NOT_AVAILABLE()\n```\n\n## List\n\n- BAD_ARGUMENT\n- STORAGE_EMPTY\n- STORAGE_CONFLICT\n- INVALID_SIGNATURE\n- INVALID_CAPABILITY\n- INVALID_CHECKSUM\n- INVALID_OPERATION\n- INVALID_PROOF\n- BLOCK_NOT_AVAILABLE\n- SNAPSHOT_NOT_AVAILABLE\n- REQUEST_CANCELLED\n- REQUEST_TIMEOUT\n- SESSION_NOT_WRITABLE\n- SESSION_CLOSED\n- BATCH_UNFLUSHED\n- BATCH_ALREADY_EXISTS\n- BATCH_ALREADY_FLUSHED\n- OPLOG_CORRUPT\n- OPLOG_HEADER_OVERFLOW\n- INVALID_OPLOG_VERSION\n- WRITE_FAILED\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}