Function check_positive_price

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

Checks the given price is positive.

ยงErrors

Returns an error if the validation check fails.