Companion

Properties

Link copied to clipboard
const val SUCCESS: Int = 0

Reserved for success; internal use only (RFC 9528 §6.1).

Link copied to clipboard

RFC 9528 §6.4; ERR_INFO is true.

Link copied to clipboard
const val UNSPECIFIED_ERROR: Int = 1

RFC 9528 §6.2; ERR_INFO is a text string.

Link copied to clipboard

RFC 9528 §6.3; ERR_INFO is SUITES_R.

Functions

Link copied to clipboard

Parses an error message.

Link copied to clipboard

Error code 3 (RFC 9528 §6.4).

Link copied to clipboard
fun unspecified(diagnostic: String): EdhocError

Error code 1 with a human-readable diagnostic in English.

Link copied to clipboard

Error code 2 with SUITES_R. A single suite is encoded as an int, several as an array (RFC 9528 §6.3).