InvalidValue

constructor(path: String, raw: Any?, expected: String, hint: String? = null)

Parameters

path

Dot-separated field path.

raw

The original value from the YAML map (may be null).

expected

Human-readable description of the expected type or value set.

hint

Optional contextual hint (e.g. "did you mean 'INFO'?").