Skip to main content

parse_required_uuid

Function parse_required_uuid 

Source
pub fn parse_required_uuid(field_name: &str, value: &str) -> ChatbotResult<Uuid>
Expand description

Parses a required UUID tool argument, reporting a parse failure as ChatbotErrorType::InvalidToolArguments naming field_name and the offending value.