diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-05-08 17:22:58 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-05-08 17:22:58 +0300 |
| commit | e0b7d30fd437292c88141fb08d60681870b86c6e (patch) | |
| tree | 7d7f4e94cbec0f4f494042f7cbf39c7c8e7234fe /pixpat-native/src/error.h | |
Squashed 'subprojects/pixpat/' content from commit d444626
git-subtree-dir: subprojects/pixpat
git-subtree-split: d444626e6ba988ec6d487800721e447f94b1eaf5
Diffstat (limited to 'pixpat-native/src/error.h')
| -rw-r--r-- | pixpat-native/src/error.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pixpat-native/src/error.h b/pixpat-native/src/error.h new file mode 100644 index 0000000..83a3596 --- /dev/null +++ b/pixpat-native/src/error.h @@ -0,0 +1,16 @@ +#pragma once + +#include <stdexcept> + +namespace pixpat +{ + +struct error : std::runtime_error { + using std::runtime_error::runtime_error; +}; + +struct invalid_argument : error { + using error::error; +}; + +} // namespace pixpat |
