mixin

ValidateItem

@Js
const mixin ValidateItem

ValidateItem models one warning or error message from validation

methods msg

Free-form message for validation error

level

Warning or error level

subject

Subject dict

slot

Slot of subject or null if on subject itself

level abstract ValidateLevel level()

Warning or error level

msg abstract Str msg()

Free-form message for validation error

slot abstract Str? slot()

Slot of subject or null if on subject itself. This is dotted path if item is on a nested dict in the subject.

subject abstract Dict subject()

Subject dict. If validate was called against a non-dict value then this is an empty dict.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST