Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/smoldot2/public-types.d.ts>CrashError

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
class CrashError
extends Error
import { CrashError } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.31/public-types.d.ts";

Thrown in case the underlying client encounters an unexpected crash.

This is always an internal bug in smoldot and is never supposed to happen.

Constructors

new
CrashError(message: string)