diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-04 17:36:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-04 20:35:06 +0100 |
| commit | cbd5a1af4be2d6483ad28d04089c6848574fdb76 (patch) | |
| tree | aab34b0367a18f1962812161270be9a0165d9150 /src/lib/exceptions.cc | |
| parent | ddfeed4cbb8b9dfe3a6e77ef7e9e99532dfa3056 (diff) | |
Add new {CertificateRead,Download}Error exceptions.
Diffstat (limited to 'src/lib/exceptions.cc')
| -rw-r--r-- | src/lib/exceptions.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index e2e7fc4bc..dbeae409f 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -190,3 +190,11 @@ SQLError::get_filename(SQLiteDatabase& db) return {}; } + + +CertificateReadError::CertificateReadError(string const& detail) + : std::runtime_error(fmt::format(_("Could not read certificate file ({})", detail))) +{ + +} + |
