DidResolutionError

@Serializable
data class DidResolutionError(val type: String, val title: String? = null, val detail: String? = null)

An error data structure per RFC 9457 as required by DID Resolution 1.0 §4.2 / §5.2 / §11.

Parameters

type

absolute URL identifying the error condition; see DidErrorType

title

short human-readable summary (SHOULD be present per §11)

detail

longer human-readable explanation (SHOULD be present per §11)

Constructors

Link copied to clipboard
constructor(type: String, title: String? = null, detail: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

HTTP status code this error maps to per §12.1.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): JsonObject

Serializes to the RFC 9457 JSON object, omitting absent members.