Package-level declarations

Types

Link copied to clipboard

Sealed hierarchy for configuration-related exceptions.

Link copied to clipboard

Sealed hierarchy for plugin lifecycle exceptions.

Link copied to clipboard

Sealed hierarchy for provider chain exceptions.

Link copied to clipboard

Sealed hierarchy for serialization and JSON-related exceptions.

Link copied to clipboard
open class TrustWeaveException(val code: String, val message: String, val context: Map<String, Any?> = emptyMap(), val cause: Throwable? = null) : Exception

Base exception hierarchy for all TrustWeave operations.

Functions

Link copied to clipboard

Checks if the exception is configuration-related (i.e., an instance of ConfigException).

Link copied to clipboard

Checks if the exception is encoding/digest-related.

Link copied to clipboard

Checks if the exception is serialization/JSON-related (i.e., an instance of SerializationException).

Link copied to clipboard

Checks if the exception is plugin-related (i.e., an instance of PluginException).

Link copied to clipboard

Checks if the exception is provider-related (i.e., an instance of ProviderException).

Link copied to clipboard

Checks if the exception is validation-related.

Link copied to clipboard

Extension function to convert any Throwable to a TrustWeaveException.

Link copied to clipboard

Helper function to create a TrustWeaveException from a simple message.