Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/typed_rpc/src/client.ts>RpcError

Lightweight JSON-RPC solution for TypeScript projects
Go to Latest
class RpcError
extends Error
import { RpcError } from "https://deno.land/x/typed_rpc@v3.0.0/src/client.ts";

Constructors

new
RpcError(
message: string,
code: number,
data?: unknown,
)

Properties

code: number
optional
data: unknown