Skip to main content

Documentation Index

Fetch the complete documentation index at: https://krono.fabianpiper.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Import

import { Orderbook } from '@krono/core'

Usage

Triggers whenever the WebSocket or the internal processing logic encounters an error.
orderbook.onError((error) => {
  console.error('Orderbook Error:', error.message)
})

Parameters

callback

(error: Error) => void

Return Type

void