Can we update the LanguageError enum so that UnsupportedLanguage also includes the Language that was detected (but not supported). Something like
pub enum LanguageError {
UnknownLanguage,
UnsupportedLanguage(String),
}
Happy to send a pull request if you like the idea.