summaryrefslogtreecommitdiff
path: root/common/rawaccel-error.hpp
blob: cdbe1e589378f99ddf50a6d036ac627486c3c138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <stdexcept>

namespace rawaccel {

	class error : public std::runtime_error { 
		using std::runtime_error::runtime_error; 
	};

	class io_error : public error {
		using error::error;
	};

	class install_error : public io_error {
	public:
		install_error() : io_error("Raw Accel driver is not installed, run installer.exe") {}
	};

}