Create a new path-not-found error. # Arguments `path` - The path that doesn't exist # Example ```rust use atomic_core::record::RecordError; use std::path::PathBuf; let err = RecordError::path_not_found(PathBuf::from("/missing/file.txt")); assert!(matches!(err, RecordError::PathNotFound { .. })); ```
(path: impl Into<PathBuf>)
| 316 | /// assert!(matches!(err, RecordError::PathNotFound { .. })); |
| 317 | /// ``` |
| 318 | pub fn path_not_found(path: impl Into<PathBuf>) -> Self { |
| 319 | Self::PathNotFound { path: path.into() } |
| 320 | } |
| 321 | |
| 322 | /// Create a new permission-denied error. |
| 323 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected