summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 81dd4fa..fb73c8d 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -3,6 +3,9 @@ pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Failed to parse key input: {0:?}")]
+ Physics(#[from] crate::physics::Error),
+
+ #[error("Failed to parse key input: {0:?}")]
IO(#[from] std::io::Error),
#[error("Failed to write to screen: {0:?}")]