Function check_positive_u128

Source
pub fn check_positive_u128(value: u128, param: &str) -> Result<()>
Expand description

Checks the u128 value is positive (> 0).

ยงErrors

Returns an error if the validation check fails.