build-fs-tree 0.8.1

Generate a filesystem tree from a macro or a YAML tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::BuildError;
use derive_more::{Display, Error, From};
use std::{fmt::Debug, io};

/// Error when execute the [`run`](super::run::run) function.
#[derive(Debug, Display, From, Error)]
pub enum RuntimeError<Path> {
    /// Failed to parse YAML from stdin.
    Yaml(serde_yaml::Error),
    /// Failed to create the filesystem tree.
    Build(BuildError<Path, io::Error>),
}