From 047649899575e16266ab2f835c31b63971865a45 Mon Sep 17 00:00:00 2001 From: thomasgruebl Date: Mon, 17 Jul 2023 14:17:29 +0200 Subject: [PATCH] changing VersionError to CommandExitStatusError --- src/tesseract/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tesseract/error.rs b/src/tesseract/error.rs index d29c838..21488cd 100644 --- a/src/tesseract/error.rs +++ b/src/tesseract/error.rs @@ -5,8 +5,8 @@ pub enum TessError { #[error("Tesseract not found. Please check installation path!")] TesseractNotFoundError, - #[error("Invalid Tesseract version!\n{0}")] - VersionError(String), + #[error("Command ExitStatusError\n{0}")] + CommandExitStatusError(String, String), #[error( "Image format not within the list of allowed image formats:\n\