pub fn check_parameter( condition: bool, context: &'static str, reason: &'static str, ) -> Result<()>
Just check a parameter condition