jellyfin-sdk-kotlin
jellyfin-sdk-kotlin copied to clipboard
Add RecommendedServerIssue for connection problems
Right now connection issues are emitted as MissingSystemInfo, with the throwable pointing to an ApiClientException with a cause containing the actual exception emitted from OkHttp.
This can be made better/easier.
I'd suggest creating a new issue type "NoConnection". It should contain the throwable and an enum explaining what went wrong with the connection: bad SSL, no internet etc.