diff options
| author | a1xd <[email protected]> | 2020-08-11 23:15:02 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-08-11 23:15:02 -0400 |
| commit | c7f881c86913f309f00f79289b2f3c88ce6919eb (patch) | |
| tree | 7ffc41237725e3ec0e9f53313644365912ded060 /common/accel-error.hpp | |
| parent | add a cooldown on write (one second) (diff) | |
| download | rawaccel-c7f881c86913f309f00f79289b2f3c88ce6919eb.tar.xz rawaccel-c7f881c86913f309f00f79289b2f3c88ce6919eb.zip | |
define exceptions for invalid arg & io errors
Diffstat (limited to 'common/accel-error.hpp')
| -rw-r--r-- | common/accel-error.hpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/common/accel-error.hpp b/common/accel-error.hpp deleted file mode 100644 index fa1f999..0000000 --- a/common/accel-error.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#include <stdexcept> - -namespace rawaccel { - - void error(const char* s) { - throw std::domain_error(s); - } - -} |