14 lines
312 B
Rust
14 lines
312 B
Rust
|
|
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),
|
||
|
|
}
|