修改路由错误信息

This commit is contained in:
李运家 2024-10-03 11:43:07 +08:00
parent 8a28c0e577
commit 2c48ee6537

View File

@ -31,7 +31,7 @@ impl Args {
Some(var) => Ok(var.clone()), Some(var) => Ok(var.clone()),
None => return Err(syn::Error::new( None => return Err(syn::Error::new(
Span::call_site().into(), Span::call_site().into(),
"No Route was provided" "route must have one argument"
)) ))
} }
} }