Function fail

  • Throw an error with a user-friendly error message that does not require a stack trace

    Parameters

    • message: string

      The error message

    • Optionalcause: unknown

      The underlying error that triggered this crash

    Returns never

    DescriptiveError