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

x/smoldot2/index-browser.d.ts>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.31/index-browser.d.ts";

Thrown in case of a problem when initializing the chain.

Constructors

new
AddChainError(message)