MissingLedgerFieldException

class MissingLedgerFieldException(val fieldName: String, val knownFields: Set<String>) : Exception

Thrown when MidnightLedger is asked for a field that doesn't exist in the contract's schema. The exception lists knownFields so a typo or version mismatch can be diagnosed immediately.

Constructors

Link copied to clipboard
constructor(fieldName: String, knownFields: Set<String>)

Properties

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