summaryrefslogtreecommitdiff
path: root/interfaces/common.idl
blob: c3ca769a64458fce72acfeee4cfc14f77aa7f374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module common {

	enum error_code {
		SUCCESS,
		EINVAL,
		ENOTSUPPORTED
	};

	enum error_level {
		DEBUG,
		INFO,
		WARNING,
		NORMAL,
		CRITICAL
	};

	struct error {
		error_code code;
		error_level level;
		string description;
	};
};