improve error message for incorrect namespace item
This commit is contained in:
parent
381dd59ea0
commit
7255e85925
@ -25,7 +25,8 @@ pub fn parse(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !found {
|
if !found {
|
||||||
return Err("bad namespace".to_string());
|
let msg = format!("bad namespace for {} with {}", name.local_name.as_str(), #namespace);
|
||||||
|
return Err(msg);
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user