summaryrefslogtreecommitdiffstats
path: root/src/finder/error.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-21 14:26:02 -0600
committerToby Vincent <tobyv13@gmail.com>2022-11-21 14:26:02 -0600
commit72e9765d58b87125bdd5a2664bbc58202bdedff7 (patch)
tree656f7e2c46f8ca936439538d306f84409690946d /src/finder/error.rs
parentfe92d86fbe5f73bc2662a128b6431ec2089d05b8 (diff)
chore: split out projectr from tmuxr
Diffstat (limited to 'src/finder/error.rs')
-rw-r--r--src/finder/error.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/finder/error.rs b/src/finder/error.rs
deleted file mode 100644
index a8009a8..0000000
--- a/src/finder/error.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-pub type Result<T> = std::result::Result<T, Error>;
-
-#[derive(thiserror::Error, Debug)]
-pub enum Error {
- #[error("Child process has not been spawned")]
- NoChild,
-
- #[error("Failed to get Child's stdin")]
- Stdin,
-
- #[error("Config error: {0}")]
- Config(#[from] figment::error::Error),
-
- #[error("IO error: {0}")]
- IO(#[from] std::io::Error),
-}