Type Alias brane_cfg::info::YamlError

source ·
pub type YamlError = InfoError<Error>;
Expand description

A type alias for the ConfigError for the YamlConfig.

Aliased Type§

enum YamlError {
    OutputCreateError {
        path: PathBuf,
        err: Error,
    },
    InputOpenError {
        path: PathBuf,
        err: Error,
    },
    InputReadError {
        path: PathBuf,
        err: Error,
    },
    StringSerializeError {
        err: Error,
    },
    WriterSerializeError {
        err: Error,
    },
    FileSerializeError {
        path: PathBuf,
        err: Error,
    },
    StringDeserializeError {
        err: Error,
    },
    ReaderDeserializeError {
        err: Error,
    },
    FileDeserializeError {
        path: PathBuf,
        err: Error,
    },
}

Variants§

§

OutputCreateError

Failed to create the output file.

Fields

§path: PathBuf
§err: Error
§

InputOpenError

Failed to open the input file.

Fields

§path: PathBuf
§err: Error
§

InputReadError

Failed to read the input file.

Fields

§path: PathBuf
§err: Error
§

StringSerializeError

Failed to serialize the config to a string.

Fields

§err: Error
§

WriterSerializeError

Failed to serialize the config to a given writer.

Fields

§err: Error
§

FileSerializeError

Failed to serialize the config to a given file.

Fields

§path: PathBuf
§err: Error
§

StringDeserializeError

Failed to deserialize a string to the config.

Fields

§err: Error
§

ReaderDeserializeError

Failed to deserialize a reader to the config.

Fields

§err: Error
§

FileDeserializeError

Failed to deserialize a file to the config.

Fields

§path: PathBuf
§err: Error