UnexpectedStatusCodeException

class UnexpectedStatusCodeException(statusCode: Int, headers: DeepSeekHeaders, error: DeepSeekError?, message: String?) : DeepSeekException

Thrown for any non-2xx status not covered by the other subclasses.

Constructors

Link copied to clipboard
constructor(statusCode: Int, headers: DeepSeekHeaders, error: DeepSeekError?, message: String?)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

Parsed error payload, or null if the body could not be decoded

Link copied to clipboard

Response headers snapshot (case-insensitive lookups)

Link copied to clipboard
expect open val message: String?
Link copied to clipboard

HTTP status code returned by the API