Detalhes do pacote

level-errors

Level5.1mMITdepreciado3.0.1

Superseded by abstract-level (https://github.com/Level/community#faq)

Error types for levelup

level, leveldb, levelup, leveldown

readme (leia-me)

level-errors

Error types for levelup.

level badge npm Node version Test Coverage Standard Common Changelog Donate

API

If you are upgrading: please see UPGRADING.md.

.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: true
  • status: 404

.EncodingError()

Error encoding data.

Contributing

Level/errors is an OPEN Open Source Project. This means that:

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.

See the Contribution Guide for more details.

Donate

Support us with a monthly donation on Open Collective and help us continue our work.

License

MIT

changelog (log de mudanças)

Changelog

3.0.1 - 2021-09-24

Fixed

  • Don't wrap existing errors (#37) (189f2b1) (Vincent Weevers)

3.0.0 - 2021-04-09

If you are upgrading: please see UPGRADING.md.

Changed

2.0.1 - 2019-04-05

Changed

Added

Removed

2.0.0 - 2018-05-13

If you are upgrading: please see UPGRADING.md.

Changed

Added

Removed

1.1.2 - 2017-11-13

Changed

Added

1.1.1 - 2017-09-10

Fixed

1.1.0 - 2017-09-10

Changed

Added

1.0.5 - 2017-08-15

Changed

Added

Removed

1.0.4 - 2015-08-25

Added

1.0.3 - 2015-03-21

Fixed

1.0.2 - 2015-03-21

Changed

Added

1.0.1 - 2015-03-20

:seedling: Initial release.