StreamError
Represents the generic error model.
Inheritors
Types
Link copied to clipboard
An error that only contains the message.
Link copied to clipboard
data class NetworkError(val message: String, val streamCode: Int, val statusCode: Int = UNKNOWN_STATUS_CODE, val cause: Throwable? = null) : StreamError
An error resulting from the network operation.
Link copied to clipboard
An error that contains a message and cause.
Inherited functions
Link copied to clipboard
Copies the original StreamError objects with custom message.
Link copied to clipboard
Extracts the cause from StreamError object or null if it's not available.