Assertion

data class Assertion(val detail: ErrorDetails, val err: String) : SchemaError

Validation error for structural or constraint violations in the schema or document.

Sets code to "ERROR_SCHEMA_VALIDATION" and message to "Error detected during schema validation".

Constructors

Link copied to clipboard
constructor(detail: ErrorDetails, err: String)

Properties

Link copied to clipboard

Stable machine-readable error code.

Link copied to clipboard
open override val detail: ErrorDetails

Extra context about the SDK and schema versions involved.

Link copied to clipboard
open override val err: String

Low-level diagnostic message useful for logs.

Link copied to clipboard
open override val message: String

Human-readable explanation suitable for UI/logs.