zenops_safe_relative_path/
error.rs1#[derive(Debug, thiserror::Error, PartialEq)]
2pub enum Error {
3 #[error("The specified relative path {0:?} goes outside of the parent directory")]
4 PathGoesOutsideParent(relative_path::RelativePathBuf),
5 #[error("{0:?} is not a single path component")]
6 NotASinglePathComponent(String),
7}