From 71e0c7faf3cc283b2b24e70631e5b18a7a7525cd Mon Sep 17 00:00:00 2001 From: Jiayi Zhao Date: Sun, 14 Apr 2019 17:57:50 -0400 Subject: rework error handling system rather than letting each command separately handle errors, we return a Result<(), JoshutoError> instead and allow for run.rs to handle all errors --- src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index a4408cd..31f9679 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,7 @@ mod commands; mod config; mod context; +mod error; mod history; mod preview; mod run; -- cgit v1.2.3