Socket
Book a DemoInstallSign in
Socket

hypercore-errors

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypercore-errors

Hypercore errors

latest
Source
npmnpm
Version
1.5.0
Version published
Weekly downloads
3.8K
-32.94%
Maintainers
3
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 20 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts