summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-29 21:47:38 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-24 00:29:31 +0100
commit0322c4604bf79c11a99dcd929a6f74685a0a4e31 (patch)
treec0adfa69e3f931a47c9096646f73ddb796fa42e3 /src/exceptions.cc
parent178b13ae534bdb75bd6cacf90dc5ca9f72b6a26b (diff)
Add LoadVariableZ.
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 4420125c..3f354c57 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -37,12 +37,13 @@
*/
-#include "exceptions.h"
#include "compose.hpp"
+#include "exceptions.h"
+#include <fmt/format.h>
-using std::string;
using std::runtime_error;
+using std::string;
using boost::optional;
using namespace dcp;
@@ -212,3 +213,8 @@ BadURNUUIDError::BadURNUUIDError(string bad_id)
}
+LoadVariableZError::LoadVariableZError(string variable_z)
+ : runtime_error(fmt::format("Badly-formed LoadVariableZ string {}", variable_z))
+{
+
+}