Types

Link copied to clipboard

Represents an error that occurs when there is an invalid credential definition.

Link copied to clipboard
class InvalidCredentialError constructor(cause: Throwable? = null) : PolluxError

Represents an error encountered when invalid credentials are provided.

Link copied to clipboard

A class representing an error when creating a JSON Web Token (JWT) presentation with an invalid JWTCredential.

Link copied to clipboard

Represents an error that occurs when there is an invalid credential definition.

Link copied to clipboard
class InvalidJWTString(msg: String? = null) : PolluxError

Represents an error that occurs when an invalid JWT string is encountered while decoding a credential.

Link copied to clipboard
class InvalidPrismDID(message: String? = "To create a JWT presentation a Prism DID is required") : PolluxError

Represents an error that occurs when attempting to create a JWT presentation without providing a PRISM DID.

Link copied to clipboard

A class representing an error when no domain or challenge is found as part of the offer JSON.

Link copied to clipboard
class NonNullableError(val field: String) : PolluxError

Represents an error that occurs when a field is null but should not be.

Link copied to clipboard

Represents an error that occurs when a proof cannot be verified.

Link copied to clipboard

Represents an error that occurs when a revocation registry json is missing a field.

Link copied to clipboard

Represents an error that occurs when a revocation registry json is missing a field.

Link copied to clipboard

A class representing an error when a verification is unsuccessful.

Link copied to clipboard

Represents an error that occurs when a proof cannot be verified.

Link copied to clipboard
class WrongKeyProvided(expected: String?, actual: String?) : PolluxError

A class representing an error when a provided key is the wrong type.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val code: Int?
Link copied to clipboard
open override val errorDescription: String?
Link copied to clipboard
open val message: String?
Link copied to clipboard
open override val underlyingErrors: Array<Error>?