use thiserror::Error;
use crate::helper::macros::unreachable_err_impl;
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum ParseError {
#[error("Invalid colon set, expected format of `key: value`")]
InvalidColonSet,
#[error("The key doesn't exist in `Difficulty`")]
InvalidKey,
#[error("Duplicate field in `Difficulty`")]
DuplicateField,
}
unreachable_err_impl!(ParseError);