ably-cocoa icon indicating copy to clipboard operation
ably-cocoa copied to clipboard

Force errors unwrapping

Open maratal opened this issue 4 years ago • 0 comments

There are some places in tests with this:

expect((error as! ARTErrorInfo).code).to(equal(...))

Which will crash in case of an error came from not an ably layer, f.e.

Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

┆Issue is synchronized with this Jira Task by Unito

maratal avatar Dec 19 '21 16:12 maratal