chore: First commit

This commit is contained in:
Paul Delafosse 2022-05-12 10:10:48 +02:00
commit d70d90dcf8
6 changed files with 155 additions and 0 deletions

13
src/theme/error.rs Normal file
View file

@ -0,0 +1,13 @@
use std::io;
use std::path::PathBuf;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum ThemeError {
#[error("No 'index.theme' file for {0}")]
ThemeIndexNotFound(PathBuf),
#[error("IoError: {0}")]
IoError(#[from] io::Error),
#[error("IniError: {0}")]
IniError(#[from] ini::Error),
}