rede_parser 0.2.2

Parser in charge of modeling Rede's files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

/// Errors that can happen during the parsing
#[derive(Error, Debug, PartialEq)]
pub enum Error {
    /// Error triggered while parsing the TOML file. Some common errors bundled on this one are:
    /// - Missing required keys
    /// - Duplicated keys
    /// - Bad formatting...
    #[error("{0}")]
    ParsingToml(#[from] toml::de::Error),
}