summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-04 21:04:09 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-05 12:23:26 +0100
commit8585a4cae42f6be5025b4cbdae399d57633c699f (patch)
tree184c83e6b6432f902477b86a6185cf160a7aa64d /src/lib/exceptions.cc
parentddfeed4cbb8b9dfe3a6e77ef7e9e99532dfa3056 (diff)
Fix some untranslatable strings, spotted by Rob van Nieuwkerk.
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))
+{
+
+}