Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TypeErrorConstructor

Hierarchy

  • ErrorConstructor
    • TypeErrorConstructor

Callable

  • TypeErrorConstructor(message?: string): TypeError
  • TypeErrorConstructor(message?: string): Error
  • Parameters

    • Optional message: string

    Returns TypeError

  • Parameters

    • Optional message: string

    Returns Error

Index

Constructors

  • new TypeErrorConstructor(message?: string): TypeError
  • new TypeErrorConstructor(message?: string): Error
  • Parameters

    • Optional message: string

    Returns TypeError

  • Parameters

    • Optional message: string

    Returns Error

Properties

prototype: TypeError
stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc