-
-
Save raamcosta/683fa5a5127c1787e5dce5cf7796e441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed interface GetMagicCardUseCaseError | |
object InvalidCardNameFormat : GetMagicCardUseCaseError | |
sealed interface ApiCallError : GetMagicCardUseCaseError | |
class HttpUnsuccessfulCodeError(val httpCode: Int) : ApiCallError | |
object RemoteServerNotReachedError : ApiCallError | |
object UnexpectedApiCommunicationError : ApiCallError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment