diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-04-26 16:42:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-04-26 16:42:47 +0200 |
| commit | 928b10e8f4195c29a31fe643e38fb00b6c1b8953 (patch) | |
| tree | c09ebb9b816b7840312f12c8ef80a4fcce63cf11 /src/exceptions.cc | |
| parent | aae2f02038b1cd36e1b1bf2e4f0821e86cff2841 (diff) | |
Give better errors when invalid urn:uuid: strings are found (DoM #2521).
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index 96a9a696..e86a3b89 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -205,3 +205,10 @@ InconsistentValidityPeriodError::InconsistentValidityPeriodError() } + +BadURNUUIDError::BadURNUUIDError(string bad_id) + : runtime_error(String::compose("Badly-formed URN UUID %1", bad_id)) +{ + +} + |
