Created
June 14, 2023 09:28
-
-
Save Aldikitta/5f4a937fbb5cedea28fcc6dbfe12b6dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
open class AppException(message: String? = null, cause: Throwable? = null) : | |
Throwable(message, cause) | |
class NetworkException(message: String? = null, cause: Throwable? = null) : | |
AppException(message, cause) | |
class ServerException(message: String? = null, cause: Throwable? = null) : | |
AppException(message, cause) | |
class ClientException(message: String? = null, cause: Throwable? = null) : | |
AppException(message, cause) | |
class UnknownException(message: String? = null, cause: Throwable? = null) : | |
AppException(message, cause) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment