rat-theme4 4.5.3

dark theme and color-schemes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::error::Error;
use std::fmt::{Display, Formatter};

#[derive(Debug)]
pub struct LoadPaletteErr(pub String);

impl Display for LoadPaletteErr {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        write!(f, "load palette failed: {}", self.0)
    }
}

impl Error for LoadPaletteErr {}