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

x/smoldot2/index-browser.js>JsonRpcDisabledError

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

Thrown when trying to send a JSON-RPC message to a chain whose JSON-RPC system hasn't been enabled.

Constructors

new
JsonRpcDisabledError()