package ru.fincode.tsudesk.core.common.model

sealed interface AppError {
    data object NoInternet : AppError
    data object Timeout : AppError

    /** Временный сбой соединения (EOF / unexpected end of stream / reset) */
    data object Temporary : AppError

    data class Http(val code: Int) : AppError
    data class Unknown(val message: String? = null) : AppError
}