Function constructError

  • Functional alias for new Error().

    Parameters

    • Rest ...constructorArguments: [message?: string]

    Returns Error