Function crash

  • Synonym for throw new Error(...)

    Parameters

    • message: string

      The error message

    • Optionalcause: unknown

      The underlying error that triggered this crash

    Returns never