Failure

Presentation could not be created.

Inheritors

Types

Link copied to clipboard
data class AdapterError(val cause: Throwable? = null, val errors: List<String>, val warnings: List<String> = emptyList()) : PresentationResult.Failure

The credential service failed while creating the presentation.

Link copied to clipboard
data class AdapterNotReady(val errors: List<String>, val warnings: List<String> = emptyList()) : PresentationResult.Failure
Link copied to clipboard
data class InvalidRequest(val errors: List<String>, val warnings: List<String> = emptyList()) : PresentationResult.Failure

DSL or request validation failed (e.g. missing holder, no credentials).

Properties

Link copied to clipboard
Link copied to clipboard
abstract val errors: List<String>
Link copied to clipboard
abstract val warnings: List<String>

Functions

Link copied to clipboard

Unwrap a successful presentation or throw TrustWeaveException.InvalidState with stable code values (PRESENTATION_ADAPTER_NOT_READY, PRESENTATION_INVALID_REQUEST, PRESENTATION_ADAPTER_ERROR).