check_positive_price

Function check_positive_price 

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

Checks the price value is positive.

ยงErrors

Returns an error if value is PRICE_UNDEF or not positive.