PropositionRejected

data class PropositionRejected constructor(val proposition: Proposition, val reason: String, val timestamp: Instant = Instant.now()) : DiceEvent

A proposition was turned away after extraction — it should be discarded rather than saved. Like every other event here, it carries the whole proposition (text included) to whichever listeners you've wired up.

Constructors

Link copied to clipboard
constructor(proposition: Proposition, reason: String, timestamp: Instant = Instant.now())

Properties

Link copied to clipboard

The proposition that was rejected.

Link copied to clipboard

Why it was rejected.

Link copied to clipboard
open val timestamp: Instant

When the event was created.