blob: ecee526ef2236daf77506728dad4eb379bd17a3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <stdexcept>
namespace rawaccel {
class error : public std::runtime_error {
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") {}
};
}
|