InvalidFormat
data class InvalidFormat(val jsonString: String? = null, val parseError: String, val field: String? = null) : ConfigException
Configuration could not be parsed.
jsonString is capped at 500 characters in context — config documents carry provider secrets, and context is what gets logged and serialized. Mirrors SerializationException.InvalidJson.
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.