diff options
Diffstat (limited to 'src/openvic-dataloader/detail/Errors.hpp')
-rw-r--r-- | src/openvic-dataloader/detail/Errors.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-dataloader/detail/Errors.hpp b/src/openvic-dataloader/detail/Errors.hpp index f8ed21b..c8f2954 100644 --- a/src/openvic-dataloader/detail/Errors.hpp +++ b/src/openvic-dataloader/detail/Errors.hpp @@ -3,7 +3,7 @@ #include "openvic-dataloader/v2script/Parser.hpp" namespace ovdl::v2script::errors { - inline const v2script::Parser::Error make_no_file_error(const char* file_path) { + inline const ParseError make_no_file_error(const char* file_path) { std::string message; if (!file_path) { message = "File path not specified."; @@ -11,7 +11,7 @@ namespace ovdl::v2script::errors { message = "File '" + std::string(file_path) + "' was not found."; } - return v2script::Parser::Error { Parser::Error::Type::Fatal, message, 1 }; + return ParseError { ParseError::Type::Fatal, message, 1 }; } } |