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

x/smoldot2/index-nodejs.d.ts>JsonRpcDisabledError

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

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

Constructors

new
JsonRpcDisabledError()