VariantException

Base class for every failure raised by the Variant codec.

Sealed, so a caller can exhaustively distinguish the bytes are unreadable from the caller asked the wrong question — those two want very different handling, and collapsing them into one RuntimeException is how a corrupt-file report ends up looking like a bug in the query.

Inheritors

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?