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
org.trustweave.credential.CredentialService is not configured.
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).
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).