diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-06-01 23:46:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-06-01 23:46:11 +0100 |
| commit | 70c0dfe78b63b4f9e3bc164cff47dbf0dd213519 (patch) | |
| tree | a6754139894cdaf6889c7fb16db44aa9ea567c11 /src/lib/exceptions.h | |
| parent | 6ab8e99f22bfe61bddbd204d4265071729c1f37d (diff) | |
Improve an error message.
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index c1b1aef4b..08cbcb1d6 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -233,7 +233,7 @@ public: class ProgrammingError : public std::runtime_error { public: - ProgrammingError (std::string file, int line); + ProgrammingError (std::string file, int line, std::string message = ""); }; class TextEncodingError : public std::runtime_error |
