|
3 | 3 | > Error module for [levelup][levelup]
|
4 | 4 |
|
5 | 5 | [![level badge][level-badge]](https://github.com/level/awesome)
|
| 6 | +[](https://www.npmjs.com/package/level-errors) |
| 7 | + |
6 | 8 | [](https://travis-ci.org/Level/errors)
|
7 | 9 | [](https://david-dm.org/level/level)
|
8 | 10 | [](https://standardjs.com)
|
9 | 11 | [](https://www.npmjs.com/package/level-errors)
|
10 | 12 |
|
11 | 13 | ## API
|
12 | 14 |
|
13 |
| -### .LevelUPError() |
| 15 | +### `.LevelUPError()` |
14 | 16 |
|
15 |
| - Generic error base class. |
| 17 | +Generic error base class. |
16 | 18 |
|
17 |
| -### .InitializationError() |
| 19 | +### `.InitializationError()` |
18 | 20 |
|
19 |
| - Error initializing the database, like when the database's location argument is missing. |
| 21 | +Error initializing the database, like when the database's location argument is missing. |
20 | 22 |
|
21 |
| -### .OpenError() |
| 23 | +### `.OpenError()` |
22 | 24 |
|
23 |
| - Error opening the database. |
| 25 | +Error opening the database. |
24 | 26 |
|
25 |
| -### .ReadError() |
| 27 | +### `.ReadError()` |
26 | 28 |
|
27 |
| - Error reading from the database. |
| 29 | +Error reading from the database. |
28 | 30 |
|
29 |
| -### .WriteError() |
| 31 | +### `.WriteError()` |
30 | 32 |
|
31 |
| - Error writing to the database. |
| 33 | +Error writing to the database. |
32 | 34 |
|
33 |
| -### .NotFoundError() |
| 35 | +### `.NotFoundError()` |
34 | 36 |
|
35 |
| - Data not found error. |
| 37 | +Data not found error. |
36 | 38 |
|
37 |
| - Has extra properties: |
| 39 | +Has extra properties: |
38 | 40 |
|
39 |
| - - `notFound`: `true` |
40 |
| - - `status`: 404 |
| 41 | +- `notFound`: `true` |
| 42 | +- `status`: 404 |
41 | 43 |
|
42 |
| -### .EncodingError() |
| 44 | +### `.EncodingError()` |
43 | 45 |
|
44 |
| - Error encoding data. |
| 46 | +Error encoding data. |
45 | 47 |
|
46 |
| -## Publishers |
| 48 | +## License |
47 | 49 |
|
48 |
| -* [@ralphtheninja](https://github.com/ralphtheninja) |
49 |
| -* [@juliangruber](https://github.com/juliangruber) |
| 50 | +Copyright © 2012-2018 `level-errors` contributors. |
50 | 51 |
|
51 |
| -## License & copyright |
52 |
| - |
53 |
| -Copyright (c) 2012-2017 LevelUP contributors. |
54 |
| - |
55 |
| -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. |
| 52 | +`level-errors` 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. |
56 | 53 |
|
57 | 54 | [level-badge]: http://leveldb.org/img/badge.svg
|
58 | 55 | [levelup]: https://github.com/level/levelup
|
0 commit comments