Skip to content

UnsupportedMethodError

Error when a given JSON-RPC method is not supported

Extends

  • Error

Constructors

new UnsupportedMethodError(method)

new UnsupportedMethodError(method): UnsupportedMethodError

Parameters

method: string

Overrides

Error.constructor

Source

packages/errors/src/client/UnsupportedMethodError.js:17

Properties

_tag

_tag: "UnsupportedMethodError" = 'UnsupportedMethodError'

Source

packages/errors/src/client/UnsupportedMethodError.js:13


cause

cause?: unknown

Inherited from

Error.cause

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24


message

message: string

Inherited from

Error.message

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1076


name

name: "UnsupportedMethodError" = 'UnsupportedMethodError'

Overrides

Error.name

Source

packages/errors/src/client/UnsupportedMethodError.js:9


stack

stack?: string

Inherited from

Error.stack

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1077


prepareStackTrace

static prepareStackTrace?: (err, stackTraces) => any

Optional override for formatting stack traces

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Optional override for formatting stack traces

Parameters

err: Error

stackTraces: CallSite[]

Returns

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from

Error.prepareStackTrace

Source

node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2241


stackTraceLimit

static stackTraceLimit: number

Inherited from

Error.stackTraceLimit

Source

node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2245

Methods

captureStackTrace()

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt?: Function

Inherited from

Error.captureStackTrace

Source

node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2234

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt?: Function

Inherited from

Error.captureStackTrace

Source

node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/globals.d.ts:21


Generated using typedoc-plugin-markdown and TypeDoc