summaryrefslogtreecommitdiff
path: root/common/rawaccel-error.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-12-02 05:25:19 -0500
committera1xd <[email protected]>2020-12-02 05:25:19 -0500
commit7d14daf1d5fce4d09471a3abe2aca49cf7680816 (patch)
tree43411443aadc79d36ad1da8063208cd51fdb15fe /common/rawaccel-error.hpp
parentmerge common-install with common (diff)
downloadrawaccel-7d14daf1d5fce4d09471a3abe2aca49cf7680816.tar.xz
rawaccel-7d14daf1d5fce4d09471a3abe2aca49cf7680816.zip
embed version info into assemblies
check app versions against lib, lib against driver add an 'about' dialog which displays version details, accessible from menu refactor error handling + add check for negative offset
Diffstat (limited to 'common/rawaccel-error.hpp')
-rw-r--r--common/rawaccel-error.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/rawaccel-error.hpp b/common/rawaccel-error.hpp
index ecee526..cdbe1e5 100644
--- a/common/rawaccel-error.hpp
+++ b/common/rawaccel-error.hpp
@@ -8,17 +8,13 @@ namespace rawaccel {
using std::runtime_error::runtime_error;
};
- class invalid_argument : public error {
- using error::error;
- };
-
class io_error : public error {
using error::error;
};
class install_error : public io_error {
public:
- install_error() : io_error("rawaccel is not installed") {}
+ install_error() : io_error("Raw Accel driver is not installed, run installer.exe") {}
};
}