Companion

object Companion

Functions

Link copied to clipboard
fun from(statusCode: Int, headers: DeepSeekHeaders, error: DeepSeekError?): DeepSeekException

Creates the matching DeepSeekException subtype for statusCode, using a built-in default message that hints at the likely cause and the remediation step.

fun from(statusCode: Int, headers: DeepSeekHeaders, error: DeepSeekError?, message: String): DeepSeekException

Creates the matching DeepSeekException subtype for statusCode.