pub fn validated_nonnegative(
value: f64,
spell_id: u32,
field: &'static str,
) -> Result<f64, BuilderError>Expand description
Validate a finite non-negative scalar override.
ยงErrors
Returns BuilderError when value is negative or non-finite.