<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic try catch in script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/try-catch-in-script/m-p/1740646#M56694</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;is there a way to execute a script in a try {} then in the catch I check what is the error and based on error code I decide what to do?&lt;BR /&gt;for example:&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;do something&lt;BR /&gt;}&lt;BR /&gt;catch(exception)&lt;BR /&gt;{&lt;BR /&gt;if exception = x then do something&lt;BR /&gt;else&lt;BR /&gt;throw exception and exit script&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly advise&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 13:07:43 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2020-09-02T13:07:43Z</dc:date>
    <item>
      <title>try catch in script</title>
      <link>https://community.qlik.com/t5/App-Development/try-catch-in-script/m-p/1740646#M56694</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;is there a way to execute a script in a try {} then in the catch I check what is the error and based on error code I decide what to do?&lt;BR /&gt;for example:&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;do something&lt;BR /&gt;}&lt;BR /&gt;catch(exception)&lt;BR /&gt;{&lt;BR /&gt;if exception = x then do something&lt;BR /&gt;else&lt;BR /&gt;throw exception and exit script&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly advise&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 13:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/try-catch-in-script/m-p/1740646#M56694</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2020-09-02T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: try catch in script</title>
      <link>https://community.qlik.com/t5/App-Development/try-catch-in-script/m-p/1740652#M56695</link>
      <description>&lt;P&gt;Did you look at this?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ScriptError.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ScriptError.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 13:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/try-catch-in-script/m-p/1740652#M56695</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-02T13:13:21Z</dc:date>
    </item>
  </channel>
</rss>

