Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "modules/error/error-factory"

Index

Functions

Functions

makeErrorSubclass

  • makeErrorSubclass(defaultErrorMessage: string): (Anonymous class)
  • Error class factory, returnes an error subclass that instantiates objects with the given message by default.

    Parameters

    • defaultErrorMessage: string

      Message that is stored in Error.message property by default.

    Returns (Anonymous class)

Generated using TypeDoc