Package-level declarations
Types
Functions
Link copied to clipboard
Copies the original Error objects with custom message.
Link copied to clipboard
Extracts the cause from Error object or null if it's not available.
Link copied to clipboard
fun Error.NetworkError.Companion.fromChatErrorCode(chatErrorCode: ChatErrorCode, statusCode: Int = UNKNOWN_STATUS_CODE, cause: Throwable? = null): Error.NetworkError
Creates Error.NetworkError from ChatErrorCode with custom status code and optional cause.
Link copied to clipboard
Returns true if an error is a permanent failure instead of a temporary one (broken network, 500, rate limit etc.)
Link copied to clipboard
Link copied to clipboard