Fixed the code duplication from supporting different Swift versions in the AmiiboLiveClient client in the library target.

This commit is contained in:
2025-10-02 02:38:47 +02:00
parent 463d15975c
commit 8d0f00ec36
2 changed files with 106 additions and 232 deletions
@@ -14,6 +14,8 @@
public enum AmiiboServiceError: Error {
/// A bad request has been given to the client.
case badRequest
/// A call to an endpoint has been cancelled by the user.
case cancelled
/// A response cannot be decoded.
case decoding
/// An online service is not currently available.