class

ValidateLevel

@Js
@Serializable { simple=true }
const class ValidateLevel : Enum

ValidateLevel

constructors fromStr

Return the ValidateLevel instance for the specified name

fields warn

Warning level

err

Error level

vals

List of ValidateLevel values indexed by ordinal

methods max

Max level from items or null if items is empty

isErr

Is this the err enum value

isWarn

Is this the warn enum value

err const static ValidateLevel : err

Error level

fromStr static new fromStr(Str name, Bool checked)

Return the ValidateLevel instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

isErr Bool isErr()

Is this the err enum value

isWarn Bool isWarn()

Is this the warn enum value

max static ValidateLevel? max(ValidateItem[] items)

Max level from items or null if items is empty

vals const static ValidateLevel[] : vals

List of ValidateLevel values indexed by ordinal

warn const static ValidateLevel : warn

Warning level

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