{"name":"level-errors","version":"2.0.1","description":"Error types for levelup","license":"MIT","main":"errors.js","scripts":{"test":"standard && hallmark && nyc node 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":"~0.1.1"},"devDependencies":{"coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^0.1.0","level-community":"^3.0.0","nyc":"^13.2.0","standard":"^12.0.0","tape":"^4.3.0"},"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":">=6"},"gitHead":"e725a7c3c5b35474870d481c69266f19e1a2406e","bugs":{"url":"https://github.com/Level/errors/issues"},"_id":"level-errors@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"ralphtheninja@riseup.net","name":"ralphtheninja"},{"email":"dev@vincentweevers.nl","name":"vweevers"}],"dist":{"integrity":"sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==","shasum":"2132a677bf4e679ce029f517c2f17432800c05c8","tarball":"http://registry-npm.ywwl.com/level-errors/download/level-errors-2.0.1.tgz","fileCount":9,"unpackedSize":12612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpy2/CRA9TVsSAnZWagAAbcgP/RpENqGqihknb8R+b4To\ncFXFPtOS+73Ni/+/3z/pD6mSbQ45EEuR2B7X9+a02fGBEQ0CC4tP1mx/eQzK\n2liU6Ppn5GFYuEh/VicWvThrObilqNKYJ5yHS8pxku0YkG6T9wb7PhamxK/E\nmbCaKnBxbtpxcd6EwPJKOfhK5IZvbX01x8cpHqdj/tb7+3PCB0KHyvYdbfZw\nMKI26E3glZQSBOBE5FQ96CX58KUNz0nXoJPdLrPG1yNPgDTNDAz1T4jlGY+d\nTqmW1UkXMq8K83Wys85d+y2AVZUzegkIIEbVjOSzxNdwmfzS/Cx9gn0j4MvX\nszSfKMfxfR2Kx3nsXDooTWSKXFfx7MdlMYypXIDi7W3lDJhBFCxZpFw0DxOf\n6qNkjZH8Pd7FnFt/di+vsEfcW2rv6wFzujBQmLfB5HUlPNyaGsK1Y/PJZxG/\nYGu7wiXxi2+SBlTdYjneitvKweLK21kAgAy0q9SRcCFf+6IUvD+db7Ce5TbZ\ngwFBBWIv50OG9DhgtUWaegkyb+3sCxiZbalKbN+8K/a1sJ5WCPg0SrNlRIlG\nnbZb2H/0SQ7QUFscfdiZcXPDLW1rUus41kA7wjZaLAK8cUdE5qGNZ6Onngb/\nNy4hlh3lSuza2Y4QAYFXCupsVCGHdQD4ZDC+RjauKQL2H9N6clOStduxhIHB\nSC2c\r\n=Vk1I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCchJlW9zMt5taDHbkV6JDDY9rFohXEOEmVjHz4SactdgIhAIzyD9JPyTpvFcI50k02IaRFdHL9W69mRsaadutXwLFN"}],"size":4100,"noattachment":false,"key":"/level-errors/-/level-errors-2.0.1.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/level-errors_2.0.1_1554460093735_0.9635960516381532"},"_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":1554460093863,"deprecated":"Superseded by abstract-level (https://github.com/Level/community#faq)","_cnpm_publish_time":1554460093863,"dist-tags":{"latest":"3.0.1"}}