Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MethodNotFoundError

Provides an error interface for handling when a method is trying to be called but does not exist.

Hierarchy

  • MethodNotFoundError

Implements

Index

Constructors

constructor

  • new MethodNotFoundError(methodName: string, openrpcDocument: OpenRPC, receievedParams?: any[]): MethodNotFoundError
  • Parameters

    • methodName: string

      The method name that was used.

    • openrpcDocument: OpenRPC

      The OpenRPC document that the method was used against.

    • Optional receievedParams: any[]

      The params, if any, that were used.

    Returns MethodNotFoundError

Properties

message

message: string

methodName

methodName: string

name

name: string

openrpcDocument

openrpcDocument: OpenRPC

receievedParams

receievedParams: any[]