DecodeException

open class DecodeException(val fieldPath: String, val bufferPosition: Int, val expected: String, val actual: String, cause: Throwable? = null) : IllegalStateException

Open base class for decode failures. Protocol layers subclass and attach domain-specific fields (e.g., MqttReasonCode, WebSocketCloseCode).

Constructors

Link copied to clipboard
constructor(fieldPath: String, bufferPosition: Int, expected: String, actual: String, cause: Throwable? = null)

Properties

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