Invalid

data class Invalid(val reason: String) : ValidationResult

Indicates the mention failed validation.

Constructors

Link copied to clipboard
constructor(reason: String)

Properties

Link copied to clipboard

True if this result represents a valid mention.

Link copied to clipboard

Human-readable explanation of why validation failed

Link copied to clipboard

Extension property to get the failure reason if invalid, null if valid.