Skip to content

API Reference


API Reference / InvalidParamsError

Class: InvalidParamsError ​

Defined in: src/mcp/Server.ts:28

A well-formed request whose params are invalid — maps to -32602.

Extends ​

  • Error

Constructors ​

Constructor ​

new InvalidParamsError(message?): InvalidParamsError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

Parameters ​

message? ​

string

Returns ​

InvalidParamsError

Inherited from ​

Error.constructor

Community project — not affiliated with Dhan. MIT License.