9 lines
219 B
Rust
9 lines
219 B
Rust
use std::io;
|
|
|
|
pub fn generate_toml_parser_error_in_field(field: &str) -> io::Error {
|
|
io::Error::new(
|
|
io::ErrorKind::InvalidData,
|
|
format!("Invalid format for config.toml in {} field", field),
|
|
)
|
|
}
|