diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-25 20:33:40 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-26 10:10:31 +0100 |
commit | 5c14cd9f7ca1aeb19a7a69ab44e94f025ad39bf4 (patch) | |
tree | 065c04c93c2354a259cb2eb8cb61d9d5063a71ac /common/rdr/Exception.h | |
parent | 1cc5bb27701684d196ae5b35208e573fb0a0af2a (diff) | |
download | tigervnc-5c14cd9f7ca1aeb19a7a69ab44e94f025ad39bf4.tar.gz tigervnc-5c14cd9f7ca1aeb19a7a69ab44e94f025ad39bf4.zip |
Don't save exceptions as std::exception
That type is not guaranteed to preserve anything useful at all. Instead,
try to either preserve a more specific type, or use std::runtime_error
which at least has a guaranteed message.
Diffstat (limited to 'common/rdr/Exception.h')
0 files changed, 0 insertions, 0 deletions