pub fn unexpected_input(path: KeyPath) -> Error