Options
All
  • Public
  • Public/Protected
  • All
Menu

A method parameter is invalid

Hierarchy

  • Error
    • PlaybackInvalidParameterError

Index

Properties

name

name: string

Optional prepareStackTrace

prepareStackTrace: undefined | ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

see

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Optional stack

stack: undefined | string

stackTraceLimit

stackTraceLimit: number

Accessors

code

  • A code representing the error.

    Returns ErrorCode

explanation

  • get explanation(): undefined | string
  • A message providing more details about the error.

    Returns undefined | string

message

  • get message(): string
  • A message describing the error.

    Returns string

Methods

captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc