PatternMismatch

constructor(path: String, raw: String, pattern: String, description: String? = null)

Parameters

path

Dot-separated field path.

raw

The string value that failed validation.

pattern

The regex pattern that was expected to match.

description

Optional human-readable description from the annotation.