summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index e2e7fc4bc..cbab29430 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -190,3 +190,10 @@ SQLError::get_filename(SQLiteDatabase& db)
return {};
}
+
+
+CPLNotFoundError::CPLNotFoundError(string id)
+ : DCPError(fmt::format(_("CPL {} not found"), id))
+{
+
+}