pub fn check_positive_quantity(value: Quantity, param: &str) -> Result<()>
Checks if the given quantity is positive.
Returns an error if the quantity is not positive.