From cc035525ec96bc418ddfd68b64043939f1d5e359 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 8 Sep 2016 17:38:54 +0200 Subject: [PATCH] Add error kinds for editor calling --- libimagstorestdhook/src/vcs/git/error.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libimagstorestdhook/src/vcs/git/error.rs b/libimagstorestdhook/src/vcs/git/error.rs index a8a00e14..d63c792e 100644 --- a/libimagstorestdhook/src/vcs/git/error.rs +++ b/libimagstorestdhook/src/vcs/git/error.rs @@ -32,7 +32,12 @@ generate_error_module!( StoreIdHandlingError => "Error handling the store id object", StoreIdStripError => "Couldn't strip prefix from StoreID object", - RepositoryFileStatusError => "Error while getting file status" + RepositoryFileStatusError => "Error while getting file status", + + GitConfigFetchError => "Error fetching git config", + GitConfigEditorFetchError => "Error fetching 'editor' from git config", + CommitEditorInstantiationError => "Error when trying to instantiate commit editor", + EditorError => "Error while calling editor" ); );