use thiserror::Error;
#[derive(Debug, Error, Clone, PartialEq, Eq)]
pub enum I18nError {
#[error("message id `{key}` was not found for locale `{locale}`")]
MessageIdNotFound {
locale: String,
key: String,
},
#[error("global i18n runtime is not initialized")]
GlobalRuntimeNotInitialized,
}