use crate::SectionType;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("Failed to parse config file:\n\t{0}")]
ParseError(#[from] nom::Err<nom::error::VerboseError<String>>),
#[error("A section name is required for section type '{0}'")]
SectionNameNeeded(SectionType),
}