diff options
Diffstat (limited to 'include/openvic-dataloader/v2script/Parser.hpp')
-rw-r--r-- | include/openvic-dataloader/v2script/Parser.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvic-dataloader/v2script/Parser.hpp b/include/openvic-dataloader/v2script/Parser.hpp index c5f37be..e575dfc 100644 --- a/include/openvic-dataloader/v2script/Parser.hpp +++ b/include/openvic-dataloader/v2script/Parser.hpp @@ -61,6 +61,8 @@ namespace ovdl::v2script { using error_range = ovdl::detail::error_range<error::Root>; Parser::error_range get_errors() const; + std::string_view error(const ovdl::error::Error* error) const; + const FilePosition get_error_position(const error::Error* error) const; void print_errors_to(std::basic_ostream<char>& stream) const; |