diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-05 00:12:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-05 00:12:59 +0100 |
| commit | ad46791780c9e59d001b63a74251ebc1f46cd36c (patch) | |
| tree | 6864aa249ad1af4f119c8b25268062408940a35a /src/lib/exceptions.cc | |
| parent | 2b404e6ce0c5936704e7e15d537f0e6db2d1d6ca (diff) | |
More detailed error with an invalid signer chain.
Diffstat (limited to 'src/lib/exceptions.cc')
| -rw-r--r-- | src/lib/exceptions.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index cef6e7447..4590531b7 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -75,6 +75,12 @@ InvalidSignerError::InvalidSignerError () } +InvalidSignerError::InvalidSignerError (string reason) + : runtime_error (String::compose (_("The certificate chain for signing is invalid (%1)"), reason)) +{ + +} + ProgrammingError::ProgrammingError (string file, int line) : runtime_error (String::compose (_("Programming error at %1:%2"), file, line)) { |
