InvalidRequest

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).

Constructors

Link copied to clipboard
constructor(errors: List<String>, warnings: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
open override val errors: List<String>
Link copied to clipboard
open override 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).