use thiserror::Error;
#[derive(Error, Debug, PartialEq, Eq)]
pub enum RnltkError {
#[error("Attempted to add existing key without replacement")]
SentimentTermExists,
#[error("Could not stem term due to non-ASCII characters present")]
StemNonAscii,
#[error("Value 'k' must fall within 1 <= k <= n, where n is the number of columns in the TF-IDF matrix")]
LsaOutOfBounds
}