use thiserror::Error;
#[derive(Debug, Error, PartialEq, Eq, Clone)]
pub enum KeyParseError {
#[error("Unknown key: {0}")]
UnknownKey(String),
#[error("Unknown modifier: {0}")]
UnknownModifier(String),
#[error("Unsupported code value: {0}")]
UnsupportedCode(usize),
#[error("Duplicate custom key name: {0}")]
DuplicateCustomKey(String),
#[error("Invalid platform: {0}")]
InvalidPlatform(String),
}