{"name":"level-errors","version":"3.0.0","description":"Error types for levelup","license":"MIT","main":"errors.js","scripts":{"test":"standard && hallmark && nyc node test.js","test-browsers-local":"airtap --coverage test.js","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test.js","prepublishOnly":"npm run dependency-check"},"dependencies":{"errno":"^1.0.0"},"devDependencies":{"airtap":"^4.0.3","airtap-playwright":"^1.0.1","coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^3.1.0","level-community":"^3.0.0","nyc":"^15.1.0","standard":"^16.0.3","tape":"^5.0.1"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/Level/errors.git"},"homepage":"https://github.com/Level/errors","keywords":["level","leveldb","levelup","leveldown","errors"],"engines":{"node":">=10"},"gitHead":"b3f8a03804d05aa24e0e401137ecf9fa9425c72e","bugs":{"url":"https://github.com/Level/errors/issues"},"_id":"level-errors@3.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"}],"dist":{"integrity":"sha512-MZXOQT061uEjxxxq4C/Jf+M3RdEKK9e3NbxlN7yOp1LDYoLVAhE2i1j0b7XqXfl8FjFtUL7phwr3Sn0wXXoMqA==","shasum":"5719f2ad9061d9f2bd7cf22e4a7def893e6d2e60","tarball":"http://registry-npm.ywwl.com/level-errors/download/level-errors-3.0.0.tgz","fileCount":7,"unpackedSize":13289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcFstCRA9TVsSAnZWagAA1d8P/20RvJGNVIkv4gp1WTpf\nUQMljwalCNDshDCM+XD7DFu/sMlbvT+v2DnkoGbx6DGxgvLzVSIbXxL/pLJJ\nqyfZUkUVXSYtxNZZdJHspdMkKFXVNgF2Nowea+hhzlHtOkkhqYtHu5JvYLNE\nX1xk0X6rpU5sMJftMDgfZXbvocdmFy4f9OXCKjC9PrSonfYEyG+cQUiw6eq7\nqBSkxuEDT7o/CTAvgqE0svpvSV9UZyFzK+Q+SbnrhTYs/RxfpIIArRAoZGYt\nEQkWhIHATydsldHNI6VqUCe1WFMjFpfTGSNaiwQ6RvieG/gEm83EqYksI0QD\nI54Tmv2KrFIxGKSAMjv4CwCz71rmOhtChIAshYT6REEP6HB3ZLREu5B6+zyR\nDUql3Snj+Ye2h+ZsPTtCLOgwQUPn+m45g5Ur/nLeE5RIiVX52C6c51wE1ya/\nVvWEFX643+XgYa+u2PwAoRGGNPsFeXHMMyTMz0CcFc+NcvGEODpgPltLMs43\nt9frqwqiARmrNovNhI/1P62NJYqCYCpaP9BA1LZ2TqqJC7DAef9YWCebfWe3\nut2cUW6j0D4XSsvvpJ7B41y9BXXJonVAUn1Ol/sPDrz4o6vRrfWRun894heX\ni24UwEKNyDsEWPSIO7EVeOo8+h+/vxAsGhMzjrL0+nNJqu7lea1dpdD4hlkj\nz+4L\r\n=ZXfh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQA+Mu7MV5nWy0espBnh/ZhSfyadnIStjNaz0Q5FKD2AIhAOw3TfRGeqh6tfLLNtiqKRHZPTcK53WkhJBYraR+ng18"}],"size":4148,"noattachment":false,"key":"/level-errors/-/level-errors-3.0.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/level-errors_3.0.0_1617976108888_0.5159134454614698"},"_hasShrinkwrap":false,"readme":"# level-errors\n\n> Error types for [levelup][levelup].\n\n[![level badge][level-badge]](https://github.com/Level/awesome)\n[![npm](https://img.shields.io/npm/v/level-errors.svg)](https://www.npmjs.com/package/level-errors)\n[![Node version](https://img.shields.io/node/v/level-errors.svg)](https://www.npmjs.com/package/level-errors)\n[![Test](https://img.shields.io/github/workflow/status/Level/errors/Test?label=test)](https://github.com/Level/errors/actions/workflows/test.yml)\n[![Coverage](https://img.shields.io/codecov/c/github/Level/errors?label=&logo=codecov&logoColor=fff)](https://codecov.io/gh/Level/errors)\n[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript&logoColor=fff)](https://standardjs.com)\n[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)\n[![Donate](https://img.shields.io/badge/donate-orange?logo=open-collective&logoColor=fff)](https://opencollective.com/level)\n\n## API\n\n**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md).\n\n### `.LevelUPError()`\n\nGeneric error base class.\n\n### `.InitializationError()`\n\nError initializing the database, like when the database's location argument is missing.\n\n### `.OpenError()`\n\nError opening the database.\n\n### `.ReadError()`\n\nError reading from the database.\n\n### `.WriteError()`\n\nError writing to the database.\n\n### `.NotFoundError()`\n\nData not found error.\n\nHas extra properties:\n\n- `notFound`: `true`\n- `status`: 404\n\n### `.EncodingError()`\n\nError encoding data.\n\n## Contributing\n\n[`Level/errors`](https://github.com/Level/errors) is an **OPEN Open Source Project**. This means that:\n\n> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.\n\nSee the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.\n\n## Donate\n\nSupport us with a monthly donation on [Open Collective](https://opencollective.com/level) and help us continue our work.\n\n## License\n\n[MIT](LICENSE)\n\n[level-badge]: https://leveljs.org/img/badge.svg\n\n[levelup]: https://github.com/Level/levelup\n","publish_time":1617976109056,"deprecated":"Superseded by abstract-level (https://github.com/Level/community#faq)","_cnpm_publish_time":1617976109056,"dist-tags":{"latest":"3.0.1"}}