aboutsummaryrefslogtreecommitdiff
path: root/include/openvic-dataloader/detail/ErrorRange.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/openvic-dataloader/detail/ErrorRange.hpp')
-rw-r--r--include/openvic-dataloader/detail/ErrorRange.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openvic-dataloader/detail/ErrorRange.hpp b/include/openvic-dataloader/detail/ErrorRange.hpp
new file mode 100644
index 0000000..7d5ca13
--- /dev/null
+++ b/include/openvic-dataloader/detail/ErrorRange.hpp
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <utility>
+
+#include <dryad/node.hpp>
+
+namespace ovdl::detail {
+ template<typename ErrorRoot>
+ using error_range = decltype(std::declval<const ErrorRoot*>()->errors());
+} \ No newline at end of file