<?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 Re: SwiftyDropbox Error Handling in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133728#M3993</link>
    <description>&lt;P&gt;Cross-linking with Stack Overflow:&amp;nbsp;&lt;A href="http://stackoverflow.com/questions/34043932/how-can-i-access-the-associated-values-of-swiftydropbox-errors" rel="nofollow noreferrer"&gt;http://stackoverflow.com/questions/34043932/how-can-i-access-the-associated-values-of-swiftydropbox-errors&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2015 23:05:07 GMT</pubDate>
    <dc:creator>Steve M.</dc:creator>
    <dc:date>2015-12-02T23:05:07Z</dc:date>
    <item>
      <title>SwiftyDropbox Error Handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133727#M3992</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I’ve been working with SwiftyDropbox and I’m having a curious problem with errors. Specifically, I’m not sure how to manipulate errors in the closure callbacks provided after responses are received.&lt;/P&gt;
&lt;P&gt;For instance, the completion handler for Dropbox.authorizedClient.filesListFolder provides a CallError&amp;lt;(Files.ListFolderError)&amp;gt;? to work with. How would I go about checking if it is a CallError.HTTPError, so that I can get the HTTP error code out of it? Right now I’m just sucking that information out of the error’s .description but that doesn’t seem like the right way to do it.&lt;/P&gt;
&lt;P&gt;Halp? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;
&lt;P&gt;I suspect that I do not properly understand how to deal with the generics involved:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG id="wysiwyg_image_1" src="https://www.dropboxforum.com/hc/user_images/Nzz9nX3ZRjllf52IESM_HA.png" alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133727#M3992</guid>
      <dc:creator>Jonathan Z.3</dc:creator>
      <dc:date>2019-05-29T09:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox Error Handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133728#M3993</link>
      <description>&lt;P&gt;Cross-linking with Stack Overflow:&amp;nbsp;&lt;A href="http://stackoverflow.com/questions/34043932/how-can-i-access-the-associated-values-of-swiftydropbox-errors" rel="nofollow noreferrer"&gt;http://stackoverflow.com/questions/34043932/how-can-i-access-the-associated-values-of-swiftydropbox-errors&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 23:05:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133728#M3993</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-12-02T23:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox Error Handling</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133729#M3994</link>
      <description>&lt;P&gt;Ah, I should have cross-linked when I posted both. Thank you!&lt;/P&gt;
&lt;P&gt;That SO answer was quite a gem.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 01:30:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SwiftyDropbox-Error-Handling/m-p/133729#M3994</guid>
      <dc:creator>Jonathan Z.3</dc:creator>
      <dc:date>2015-12-03T01:30:17Z</dc:date>
    </item>
  </channel>
</rss>

