hypercore-errors
Hypercore errors
Last updated 3 months ago by mafintosh .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install hypercore-errors 
SYNC missed versions from official npm registry.

hypercore-errors

Hypercore errors

npm i hypercore-errors

Usage

const { BLOCK_NOT_AVAILABLE } = require('hypercore-errors')

throw BLOCK_NOT_AVAILABLE()

List

  • BAD_ARGUMENT
  • STORAGE_EMPTY
  • STORAGE_CONFLICT
  • INVALID_SIGNATURE
  • INVALID_CAPABILITY
  • INVALID_CHECKSUM
  • INVALID_OPERATION
  • INVALID_PROOF
  • BLOCK_NOT_AVAILABLE
  • SNAPSHOT_NOT_AVAILABLE
  • REQUEST_CANCELLED
  • REQUEST_TIMEOUT
  • SESSION_NOT_WRITABLE
  • SESSION_CLOSED
  • BATCH_UNFLUSHED
  • BATCH_ALREADY_EXISTS
  • BATCH_ALREADY_FLUSHED
  • OPLOG_CORRUPT
  • OPLOG_HEADER_OVERFLOW
  • INVALID_OPLOG_VERSION
  • WRITE_FAILED

License

Apache-2.0

Current Tags

  • 1.3.0                                ...           latest (3 months ago)

5 Versions

  • 1.3.0                                ...           3 months ago
  • 1.2.0                                ...           8 months ago
  • 1.1.1                                ...           10 months ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE