termint 0.8.1

Library for colored printing and Terminal User Interfaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("Cannot rerender: no previous widget tree found.")]
    NoPreviousWidget,
    #[error("Cannot determine terminal size.")]
    UnknownTerminalSize,
    #[error(transparent)]
    Termal(#[from] termal::Error),
    #[error(transparent)]
    IO(#[from] std::io::Error),
}