From a4f5bc3f1567b50a1722c48ae6ec35f678338a49 Mon Sep 17 00:00:00 2001
From: Martin Beseda <martin.beseda@vsb.cz>
Date: Thu, 17 Jan 2019 15:06:57 +0100
Subject: [PATCH] ENH: Improved error message

---
 src/CSVReader/CSVReader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CSVReader/CSVReader.cpp b/src/CSVReader/CSVReader.cpp
index 373dcd1e..b51a7773 100644
--- a/src/CSVReader/CSVReader.cpp
+++ b/src/CSVReader/CSVReader.cpp
@@ -19,7 +19,7 @@
 namespace lib4neuro {
     CSVReader::CSVReader(std::string file_path, std::string delimiter, bool ignore_first_line) {
         if(!std::filesystem::exists(file_path)) {
-            THROW_RUNTIME_ERROR("The specified file path in CSVReader does not exist!");
+            THROW_RUNTIME_ERROR("The file path \'" + file_path + "\' specified in CSVReader does not exist!");
         }
 
         this->file_path = file_path;
-- 
GitLab