Hello!
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.
For instance, the completion handler for Dropbox.authorizedClient.filesListFolder provides a CallError<(Files.ListFolderError)>? 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.
Halp? 
I suspect that I do not properly understand how to deal with the generics involved:
