Skip to content
Snippets Groups Projects
Commit a4f5bc3f authored by Martin Beseda's avatar Martin Beseda
Browse files

ENH: Improved error message

parent 94cdea84
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment