TypeMismatch

data class TypeMismatch(val role: MentionRole, val actual: String, val expected: String) : ProjectionFailureReason

A mention's declared type did not match the relation's expected type.

Constructors

Link copied to clipboard
constructor(role: MentionRole, actual: String, expected: String)

Properties

Link copied to clipboard

The type declared on the mention

Link copied to clipboard

The type expected by the matched relation

Link copied to clipboard

The role of the mismatched mention (subject or object)

Functions

Link copied to clipboard
open override fun describe(): String

A concise human-readable rendering of this failure reason.