Types

Link copied to clipboard

Class representing an error thrown a json representation fo a DIDDocument cannot be parsed into the actual model.

Link copied to clipboard
class InitialStateOfDIDChanged(message: String? = null) : CastorError

Represents an error that occurs when the initial state of a PRISM DID changes, making it invalid.

Link copied to clipboard

Represents an error that occurs when trying to parse an invalid DID string.

Link copied to clipboard

Represents an error that occurs when the JWK (JSON Web Key) keys are not in a valid format.

Link copied to clipboard
class InvalidKeyError constructor(message: String? = null) : CastorError

Represents an error that occurs when an invalid key is encountered.

Link copied to clipboard

Represents an error that occurs when the long form PRISM DID is invalid or changed.

Link copied to clipboard
class InvalidPeerDIDError constructor(message: String? = null, cause: Throwable? = null) : CastorError

An error that occurs when the provided PeerDID is invalid.

Link copied to clipboard

Represents an error that occurs when there is an invalid encoding or decoding of a public key.

Link copied to clipboard

An error that indicates that the given key curve is not supported for a specific functionality.

Link copied to clipboard

Represents an error that occurs when the provided method ID does not satisfy a given regex pattern.

Link copied to clipboard
class NotPossibleToResolveDID(did: String, reason: String, cause: Throwable? = null) : CastorError

Represents an error that occurs when it is not possible to resolve a Decentralized Identifier (DID) due to a specific reason.

Link copied to clipboard

Class representing an error thrown when a field is missing or null when it should not.

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>?