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

x/smoldot2/index-nodejs.js>AddChainError

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
class AddChainError
extends Error
import { AddChainError } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.30/index-nodejs.js";

Thrown in case of a problem when initializing the chain.

Constructors

new
AddChainError(message)