diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
| commit | ea81a192a65a03b664dac61de21e06cea7aa97a2 (patch) | |
| tree | f21447aeb9f24320ea6c1c4cb7a05539646bb85a /src/exceptions.h | |
| parent | 75788462338b1b4f464d075465da3cb372c40004 (diff) | |
Purge assert() from src/, at least (not asdcplib).
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index fd7c7618..9b2617ee 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -166,6 +166,12 @@ public: ~NotEncryptedError () throw () {} }; +class ProgrammingError : public StringError +{ +public: + ProgrammingError (std::string file, int line); +}; + } #endif |
