SdkError

open class SdkError(message: String, val statusCode: Int = 0, val body: Any? = null, val details: Any? = null) : RuntimeException

Base SDK failure with optional status and structured diagnostic details.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, statusCode: Int = 0, body: Any? = null, details: Any? = null)

Properties

Link copied to clipboard
val body: Any?

decoded or raw response body

Link copied to clipboard
val details: Any?

supplemental structured diagnostics

Link copied to clipboard

HTTP-like status code, or zero when unavailable

Functions

Link copied to clipboard
open override fun toString(): String

Returns a concise status-aware failure description.