summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
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))
+{
+
+}