summaryrefslogtreecommitdiff
path: root/common/accel-error.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-08-11 23:15:02 -0400
committera1xd <[email protected]>2020-08-11 23:15:02 -0400
commitc7f881c86913f309f00f79289b2f3c88ce6919eb (patch)
tree7ffc41237725e3ec0e9f53313644365912ded060 /common/accel-error.hpp
parentadd a cooldown on write (one second) (diff)
downloadrawaccel-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.hpp11
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);
- }
-
-}