Going extreme: removing all fields and unifying all walk errors.
This commit is contained in:
@@ -15,15 +15,8 @@ pub enum RenderError<'a> {
|
||||
},
|
||||
}
|
||||
|
||||
pub enum WalkError<'a> {
|
||||
CantWalk {
|
||||
segment: String,
|
||||
elem: &'a dyn ContextElement,
|
||||
},
|
||||
NotFound {
|
||||
path: &'a Vec<&'a str>,
|
||||
breadcrumbs: Vec<&'a dyn ContextElement>,
|
||||
},
|
||||
pub enum WalkError {
|
||||
CantWalk,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
|
||||
Reference in New Issue
Block a user