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.
InputOpenError
Failed to open the input file.
InputReadError
Failed to read the input file.
StringSerializeError
Failed to serialize the config to a string.
WriterSerializeError
Failed to serialize the config to a given writer.
FileSerializeError
Failed to serialize the config to a given file.
StringDeserializeError
Failed to deserialize a string to the config.
ReaderDeserializeError
Failed to deserialize a reader to the config.
FileDeserializeError
Failed to deserialize a file to the config.