throwError | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function throwError

    • Throw an error with the specified message. This function allows you to throw inside expressions

      Parameters

      • err: string

        The error message

      Returns never

      This function never returns

      An error with the specified message