lingora-tui 0.4.14

Lingora is a free and open-source localization management program that analyses fluent translation files highlighting discrepancies between reference and target languages. This application provides a terminal user interface; run as `lingora-tui`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

/// Top-level error type used throughout the `lingora-tui` binary.
#[derive(Debug, Error)]
pub enum TuiError {
    /// Any error originating from the core `lingora-common` library.
    #[error(transparent)]
    Lingora(#[from] lingora_core::prelude::LingoraError),

    /// Low-level error from the `fluent4rs` parser while reading or parsing `.ftl` files.
    #[error(transparent)]
    Fluent4rs(#[from] fluent4rs::prelude::Fluent4rsError),

    /// I/O error during terminal operations, file reading, or configuration loading.
    #[error(transparent)]
    Io(#[from] std::io::Error),
}