level-errors
v1.1.2(not latest)
- Types
- ESM
- CJS
This package has been deprecated.
Superseded by abstract-level (https://github.com/Level/community#faq)
- License
- MIT
- Install Size
- -
- Vulns
- 0
- Published
$
npm install level-errors@1.1.2$
pnpm add level-errors@1.1.2$
yarn add level-errors@1.1.2$
bun add level-errors@1.1.2$
deno add npm:level-errors@1.1.2$
vlt install level-errors@1.1.2level-errors
Error module for levelup
API
.LevelUPError()
Generic error base class.
.InitializationError()
Error initializing the database, like when the database's location argument is missing.
.OpenError()
Error opening the database.
.ReadError()
Error reading from the database.
.WriteError()
Error writing to the database.
.NotFoundError()
Data not found error.
Has extra properties:
notFound:truestatus: 404
.EncodingError()
Error encoding data.
Publishers
License & copyright
Copyright (c) 2012-2017 LevelUP contributors.
LevelUP is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.