blob: e7d3f801dec0e479fba97490befec8d1483b9eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use std::path::PathBuf;
#[derive(Debug, miette::Diagnostic, thiserror::Error)]
#[allow(clippy::enum_variant_names)]
pub(crate) enum Error {
#[error("Failed to parse configuration")]
ConfigParseFailed(toml::de::Error),
#[error("Script does not exist: {0}")]
ScriptDoesNotExist(PathBuf),
}
|