bizz84 / bizz84/SwiftyStoreKit

Typecasting network errors to SKError incorrectly

Open
#703 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

## Bug Report
It looks like some errors in the `NSURLErrorDomain` are being typecast erroneously to `SKError`. I suspect [this](https://github.com/bizz84/SwiftyStoreKit/blob/48d4d4c0b6a66732eb45e2f0104fb7d080c67a69/Sources/SwiftyStoreKit/SwiftyStoreKit.swift#L55) might be the line to blame.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.