KpaAccessError

sealed interface KpaAccessError(source)

Marker for every failure the adapter raises while resolving a pointer against, or mutating, a document.

This is a sealed interface rather than a sealed class because its implementors extend different standard-library exception types (IllegalStateException, IllegalArgumentException, IndexOutOfBoundsException) so that callers catching those types continue to work unchanged. The interface groups them into one exhaustive family; canonicalErrorKind maps each to a language-neutral errorKind string for use in conformance fixtures.

Inheritors

Functions

Link copied to clipboard

Returns the canonical error-kind string for this KpaAccessError, as used in conformance fixture JSON files.