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; canonicalErrorCode maps each to a language-neutral errorCode string for use in conformance fixtures.

Inheritors

Functions

Link copied to clipboard

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