Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UndefinedValue

The error thrown when a value is passed to a function for which the function value is undefined. This is a better way to handle undefined function values than returning an undefined.

Hierarchy

  • UndefinedValue

Index

Constructors

Constructors

constructor

  • The error thrown when a value is passed to a function for which the function value is undefined. This is a better way to handle undefined function values than returning an undefined.

    Parameters

    • fnName: string

      The name of the function called.

    • value: Numerical

      The value passed to the function.

    • Optional extra: undefined | string

      Any additional message to display.

    Returns UndefinedValue

Generated using TypeDoc