summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/djinterop/enginelibrary/el_track_impl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/djinterop/enginelibrary/el_track_impl.hpp b/src/djinterop/enginelibrary/el_track_impl.hpp
index f1964ae..bf82ee6 100644
--- a/src/djinterop/enginelibrary/el_track_impl.hpp
+++ b/src/djinterop/enginelibrary/el_track_impl.hpp
@@ -140,6 +140,9 @@ public:
// write.
if (!(T::decode(encoded_content) == content))
{
+ // TODO (haslersn): As soon as warnings are implemented, add the
+ // wording similar to "Either you got a warning above which tells
+ // you what is wrong, or this is a bug in libdjinterop."
throw std::logic_error{
"Data supplied for column " + std::string(column_name) +
" is not invariant under encoding and subsequent decoding. "