summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-23 22:06:00 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 19:30:28 +0200
commit1ca864c987c704e66486027570cf689f9508c303 (patch)
tree3e3398dc9e15e33df9404176627613f82640ea25 /src/exceptions.cc
parent026204a2c818c56fc391ab5b15f0af16b10babab (diff)
Add a new exception for problems with LanguageTag.
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 0256c2b5..70320b52 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -137,3 +137,6 @@ CombineError::CombineError (string message)
: runtime_error (message)
{}
+LanguageTagError::LanguageTagError (std::string message)
+ : runtime_error (message)
+{}