-
February 3rd, 2016, 10:21 AM
#4
Hi all,
I have issues catching exception in Swift as well with the following code:
public func unsubscibeElement(tableKey tableKey: LSSubscribedTableKey) {
do {
//self.client is an instance of LSClient
try self.client.unsubscribeTable(tableKey, error: ())
}
catch {
print("Error occured")
}
}
It does not catch LSPushClientException "Table not found". This version of the unsubscribe function becomes throwing in Swift but it looks like there is a little interoperability issue.
Thanks for your help.
Similar Threads
-
By Sathyaayyanar in forum Adapter SDKs
Replies: 5
Last Post: June 26th, 2015, 08:49 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:16 PM.
Bookmarks