class RpcError
extends Error

Constructors

new
RpcError(
message?: string,
options?: ErrorOptions & { status?: number; },
)

Properties

readonly
optional
status: number

Usage

import { RpcError } from "index.ts";