It is thrown when a method in the SDK receives invalid parameters.

Hierarchy (view full)

Constructors

Properties

cause?: any
message: string
methodPath: string[]
name: string
params: {
    expected: string;
    name: string;
    received: string;
}[]
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void