-
-
Save virendersran01/d9d0917bf5733b009fa19c7c7a011809 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