ConnectionDiagnostic

data class ConnectionDiagnostic(val problem: ConnectionProblem, val message: String, val suggestion: String, val httpStatus: Int? = null)

Actionable connection diagnostic. Classification is best-effort; unknown errors remain ConnectionProblem.UNKNOWN.

Constructors

Link copied to clipboard
constructor(problem: ConnectionProblem, message: String, suggestion: String, httpStatus: Int? = null)

Properties

Link copied to clipboard

HTTP status when a response was received. Reports produced by the SDK contain no socket path, raw exception, response body or headers.

Link copied to clipboard

Summary without raw exception or response contents.

Link copied to clipboard

Machine-readable category; NONE means the versioned ping returned OK.

Link copied to clipboard

Next diagnostic step; never an automatic retry or configuration change.